Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
nov21b
3y ago
0 comments
Save
Share
As a non-ruby developer, I find the initial example indeed much more readable.
0 comments
1 comments · 1 top-level
top
newest
oldest
mekster
3y ago
That's why LOC doesn't mean anything and I find the latter way more readable except for the fact ruby puts "if" behind for a single liner which isn't really comfortable reading.
j
/
k
navigate · click thread line to collapse