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
-
louis armstrong sang "what a wonderful world" right?...
well...
HE DIDN'T SEE THIS SHIT! -
ddephor44466y@neriald This type of enum doesn't add any information, so no difference to magic numbers. So useless and additional waste of resources.
-
neriald14456y@ddephor oh did you mean the ambiguity of mode_1 and mode_2? I thought you meant ... = 0
-
gruff5526yThe number representing the 5th column in a data table really isn’t the problem but writing 8 lines of shite for something you can do in 2 is a different kind special
-
ddephor44466y@neriald Yes, MODE_1 MODE_2 is useless anyway, having it started with 0 just adds a bit of topping to the cake. You just don't know what it means.
It should be MODE_BEHAVIOUR_XY and MODE_BEHAVIOUR_WHATEVER, just meaningful.
Related Rants
Here i am, sitting, refactoring, and asking myself why? WHY?
rant
c#
winforms