Y
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
burke
1602 days ago
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.
link
theonething
1602 days ago
Have used Ruby professionally for a few years now and had no idea "then" exists.
TIL (something not that useful)
link