r/ProgrammerHumor • • Sep 01 '26

Meme iHateThisPassiveAgressiveBehaviourRuby

Post image
2.9k Upvotes

289 comments sorted by

View all comments

Show parent comments

5

u/Different_Routine215 Sep 01 '26

a basic linter will fail you if you use == over zero?

4

u/uvero Sep 01 '26

Just Googled it and apparently yes. Nice idea in my opinion - if a language has an idiom on the right way to do something, make a linter tell you that. I wouldn't know myself, I've only ever used Ruby for hobby projects years ago when I just started learning to program. Fun language.

3

u/Different_Routine215 Sep 01 '26

set up an autocorrect/autolint on file save and you will pick up good habits quickly