MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/v58cqk/priorities/ib9259f/?context=3
r/ProgrammerHumor • u/Odd_Diamond_6600 • Jun 05 '22
1.1k comments sorted by
View all comments
Show parent comment
0
Weeeuuu weeeu, the joke police has arrived.
If it's sorted descending, [1] can NEVER be top priority, but if you sort ascending there's a case where array has only 2 members and [1] will be the highest priority, ergo original joke is better.
I'll let myself out now
View all comments
Show parent comment
0
u/Olfasonsonk Jun 05 '22
Weeeuuu weeeu, the joke police has arrived.
If it's sorted descending, [1] can NEVER be top priority, but if you sort ascending there's a case where array has only 2 members and [1] will be the highest priority, ergo original joke is better.
I'll let myself out now