You are viewing a single thread.
View all comments View context
10 points

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.

permalink
report
parent
reply
7 points

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

permalink
report
parent
reply
3 points

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

  • Management
permalink
report
parent
reply
11 points

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.

permalink
report
parent
reply