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
-
I have worked in a place that sneaks logic in all kinds of places like a constructor. I also don't like all kinds of properties initialized that can wait for user or system input. I am also a stickler about business logic being in a class and method where it makes sense. There are some other things I hate but everyone else loves to pieces.
-
viking817428y@OOPMichael worst I've seen in property setters are function calls before the value is assigned..
Properties are bad. It's a shame how much action is placed in a setter or getter and they wonder why the application is so slow..
DB call in getter.. fml -
Another one I hate is looping through data looking for a certain condition to avoid link.
-
I don't like when exceptions are part of the flow of control. I like to do my best to avoid them in the first place but handle them when they occur .
Related Rants
Let's stop putting business logic in Constructors...
undefined
oop
c#