Hacker News new | ask | show | jobs
by tpoacher 1894 days ago
> Worth noting that elses don't require curly braces

True. I still think the first is clearer though. Either all tests pass, or they don't.

1 comments

(also I'd be very skeptical of such an if..else ladder. Prime target for bugs.)