ruby-style-guide icon indicating copy to clipboard operation
ruby-style-guide copied to clipboard

Add 'Avoid the usage of class instance variables'

Open bdewater opened this issue 5 years ago • 2 comments

Per the discussion on Slack earlier today, where we reviewed internal code where seemingly the authors were not aware of the self << class and used class instance variables instead of instance variables.

bdewater avatar Jun 15 '20 22:06 bdewater

To be candid, I don't think this directive belongs in a style guide. It's a software development issue, not a style one.

gmalette avatar Jun 16 '20 12:06 gmalette

I'm back from some time off :) @volmer thanks for your suggestion, I've trimmed the fat.

bdewater avatar Jul 09 '20 19:07 bdewater