You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generally it is confusing to read code with negations, e.g. dontDoTheThing=false. It requires unnecessary brainpower to calculate whether that means that the thing is being done or not. So my suggestion would be to negate the names and the defaults:
Also, there is no real naming convention for boolean flags
Sometimes its <imperative-verb>-<thing> like use-private-ip, other times its uses-proxyprotocol, but there's also http-sticky-sessions
thank you for creating the issue. We already planned to revise configuration options, their naming, their defaults and also would like to introduce a proper config file as an alternative to a large set of environment variables. #656 is also related to this.
I would like to suggest renaming some loadbalancer annotations and their defaults in the upcoming v2.0.
The following annotations have negated names:
Generally it is confusing to read code with negations, e.g.
dontDoTheThing=false
. It requires unnecessary brainpower to calculate whether that means that the thing is being done or not. So my suggestion would be to negate the names and the defaults:I haven't checked whether there are other places where this would make sense.
The text was updated successfully, but these errors were encountered: