Hacker News new | ask | show | jobs
by nov21b 1276 days ago
As a non-ruby developer, I find the initial example indeed much more readable.
1 comments

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.