Hacker News new | ask | show | jobs
by joevandyk 1603 days ago
Using "then" in ruby definitely isn't idiomatic and goes against convention.
2 comments

Yeah I’m sympathetic to this argument and I myself am often annoyed by rubocop’s apparent heuristic of “is it possible to encode an opinion on this? Great then let’s do it” … but in this case, I think this rule is beyond justifiable.
Have used Ruby professionally for a few years now and had no idea "then" exists.

TIL (something not that useful)