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
-
asgs112755ySo much verbosity to yield a wrong result
At least he didn't use an if else in the first function/method -
mksana2465yI remember when DevExpress introduced their own implementation of Boolean, so there CAN be a reason - IIRC it included an additonal state of undefined (which was hardly ever neccessary).
Failing that ... yeah.
I just did a code review this morning where an old function of mine which did all there was to do in like 10 lines of code got separated into three layers of functions scattered over the class. I guess that's how you do it these days, single responsibility and all, but personally, I'll take "see everything that happens at a glance" over "clean single responsibility structure" any day. Until the code gets considerably longer or is reused/reuseable elsewhere, that is.
Related Rants
-
linuxxx32*client calls in* Me: good morning, how can I help you? Client: my ip is blocked, could you unblock it for m...
-
DRSDavidSoft28Found this in our codebase, apparently one of my co-workers had written this
-
linuxxx23*client calls* "hello, we forgot the password to our WiFi router. Could you reset that for us?" 😐😶😮...
confused screaming!!
joke/meme
wtf
boolean logic