Hacker News new | ask | show | jobs
by billforsternz 2165 days ago
if !parse(config) then reboot. Please, for the love of God.
1 comments

I’m sorry but I find ruby „reboot unless config.parse?” much more readable here.
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.