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
-
retoor11563297dIt evens returns false if it's true. And not even just returning orig == val directly.
I don't believe this -
SoldierOfCode1802297d@retoor Oh I didn't even notice it, yeah, it fucking inverts the result xD xD xD xD
faithInDevs--; -
ScriptCoded19203297dThis can be generalized into a generic utility class. I understand their frustration, it's incredibly unscalable code.
-
IntrusionCM14956297d@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... -
IntrusionCM14956297d@ScriptCoded
Usually yes... But... This struck a cluster of nerves sitting in a cluster of nerves...
:-( *cries* -
TeachMeCode5174297d???????!!!!!!! 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; -
TeachMeCode5174297dAnd what’s with the naming?? What’s orig? Original?? Original what???? Aren’t we just comparing Boolean’s??? The original Boolean? Lol
-
TeachMeCode5174296d@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/... -
SidTheITGuy9594296d@meaning2 wow what a slam .. what will I do now. My life is a lie from now on.
Cunt. -
Parzi8833284dthis reeks of namespace issues and/or compiler bugs. this dev was actively harmed by the compiler.
sigh...
rant