Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
nov21b
· 3y ago · 0 comments
As a non-ruby developer, I find the initial example indeed much more readable.
Comments
[–]
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.