Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
What you do is make your code OOO (object oriented overkill). Make an interface, implement it with an abstract class, inherit that abstract class into a single responsibility generic class, then make a factory to instantiate the generic class with a specific type. Comment nothing and when they ask for a design doc hand them a bowl of spaghetti.
-
mwhobrey28y@projektaquarius ironically enough I spent all day today wading neck deep through this exact kind of spaghetti trying to fix 1 little bug, courtesy of my boss and his "wonderful" code style
When someone tell u that your code is not OO enough, then you start creating random classes.
undefined