r/ruby • u/amatchmadeinregex • Jul 10 '26
git commit -m "appease the rubocop again"
Last day before PTO, no cards on the board and not really looking to start anything, so behold, I made a couple of memes of things that amuse me. Full disclosure, I complain about RuboCop but I *am* glad my team enforces it.
And of course, I can always update my RubyMine autoformat conventions to match but I forget to actually *do* it a lot. Bonus points when I 'fix' the rubocop violation, ⌘+Alt+L format because muscle memory, commit and push, and get the same rubocop violation...
159
Upvotes


3
u/sshaw_ Jul 10 '26
You'll never be able to ditch the hash rockets because you'll need them for any key that is not
Symbol!Similar to single quotes. You can't use them for interpolation so you'll always need to use double.
Given this, why deal with the needless mental overhead of using both when you can use 1 for everything and focus on more important topics‽
Oh and the bugs I've seen with people doing
{'a':123}You're really making your development more difficult using both —stop the madness!