Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
billforsternz
5y ago
0 comments
Share
if !parse(config) then reboot. Please, for the love of God.
undefined | Better HN
0 comments
default
newest
oldest
rad_gruchalski
5y ago
I’m sorry but I find ruby „reboot unless config.parse?” much more readable here.
billforsternz
OP
5y ago
You can argue about which syntax is best. But irrespective, having a perfectly good boolean already, but then comparing it to true or false to unnecessarily create another boolean is always just wrong.
j
/
k
navigate · click thread line to collapse