Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
tpoacher
5y ago
0 comments
Save
Share
> 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.
0 comments
1 comments · 1 top-level
top
newest
oldest
tpoacher
OP
5y ago
(also I'd be very skeptical of such an if..else ladder. Prime target for bugs.)
j
/
k
navigate · click thread line to collapse