this post was submitted on 08 Nov 2022
5 points (100.0% liked)
Programmer Humor
32070 readers
819 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Off-topic: Why is
const americanSort = (list, compare) => { ... }
such a common pattern these days? Isn't it simpler to just dofunction americanSort(list, compare) { ... }
It makes me feel cool and I'm already used to doing it, so doing it the function way becomes slower from being so used to doing it the other way.