Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
palerdot
on May 31, 2020
|
parent
|
context
|
favorite
| on:
Ask HN: Best books under 200 pages for developers?
I use negative flags (but not negations) so that I can break out early with early returns ...
if (isFeatureDisabled()) { // do not proceed return }
But still the style guide holds, since there is no negations ...
WalterBright
on May 31, 2020
[–]
I do try to reframe as different words, such as "right" instead of "notLeft", to eliminate negations.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: