r/programminghorror
•
u/Leonnee
•
Jun 12 '25
•
1
Javascript Javascript is filled with horror
2.4k
Upvotes
View all comments
Show parent comment
1
u/LordFokas Jun 12 '25
Of course I have. I'm building one right now. But the need to sort is rare (for me), and the way sort works is on you, the programmer.
Just because JS provides a default comparator for convenience doesn't make it the language's fault that it isn't magically the one you need for your use case. Sort is on you.