505
CompareBooleans (sh.itjust.works)
you are viewing a single comment's thread
view the rest of the comments
[-] not_woody_shaw@lemmy.world 10 points 1 month ago

That's not even the worst part. What the fuck does a function named Compare_anything do? Does it return anything? It sounds like nothing but a side effect.

[-] idunnololz@lemmy.world 11 points 1 month ago

Usually comparison functions are supposed to return an integer and are usually useful for sorting. However this one returns a bool so it's both useless and terribly named.

[-] BatmanAoD@lemmy.world 7 points 1 month ago

The unnecessary and confusing functions are horrible, yes, but I'd still say that the fact that they're wrong is the "worst" part.

[-] WoahWoah@lemmy.world 3 points 1 month ago

That's enough chit-chat, nerds. Back to work.

  • Management
this post was submitted on 28 Oct 2024
505 points (98.3% liked)

Programming Humor

2739 readers
2 users here now

Related Communities !programmerhumor@lemmy.ml !programmer_humor@programming.dev !programmerhumor@kbin.social !programming_horror@programming.dev

Other Programming Communities !programming@beehaw.org !programming@programming.dev !programming@lemmy.ml !programming@kbin.social !learn_programming@programming.dev !functional_programming@programming.dev !embedded_prog@lemmy.ml

founded 2 years ago
MODERATORS