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
-
retoor12029305dIt evens returns false if it's true. And not even just returning orig == val directly.
I don't believe this -
SoldierOfCode1802305d@retoor Oh I didn't even notice it, yeah, it fucking inverts the result xD xD xD xD
faithInDevs--; -
ScriptCoded19231305dThis can be generalized into a generic utility class. I understand their frustration, it's incredibly unscalable code.
-
IntrusionCM14955305d@ScriptCoded
Yeah.
Adding to the cesspool of unnecessary classes ending in *Helper or *Utils...
Of course these classes break SRP and contain more duplicated code than anything.
NIH probably strong in there, too.
Functional, OOP, FOOPS (FunctionalOOPShit)... When it didn't exist like the Author wanted it, it was added in yet another helper or utils class.
:(
Yeah. I took your comment way too personal. But I absolutely hate that mentality... -
IntrusionCM14955305d@ScriptCoded
Usually yes... But... This struck a cluster of nerves sitting in a cluster of nerves...
:-( *cries* -
TeachMeCode5175305d???????!!!!!!! Why are we abstracting something as primitive as comparing Boolean’s??? If comparison changes, almost every codebase in existence would crash or have to go through major refactors. Likelyhood of that happening is zero.
Why did he write a USELESS ABSTRACTING FUNCTION in an ALREADY USELESS ABSTRACTING FUNCTION to do the actual comparing???
AND the LOGIC in that function IS WRONG!!!!
if(boolean1 == boolean2)
return false; <——🤬
WTF just say return boolean1==boolean2; -
TeachMeCode5175305dAnd what’s with the naming?? What’s orig? Original?? Original what???? Aren’t we just comparing Boolean’s??? The original Boolean? Lol
-
TeachMeCode5175304d@meaning2 no, me it from. On you toon! Title “how do code”. It free of mzumbo!! Free mzumbo! No worry, mzumbo bad. Code toot oral remain
https://devrant.com/rants/10163104/... -
SidTheITGuy9595304d@meaning2 wow what a slam .. what will I do now. My life is a lie from now on.
Cunt. -
Parzi8833292dthis reeks of namespace issues and/or compiler bugs. this dev was actively harmed by the compiler.
sigh...
rant