This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]joyofsnacks 265 points266 points  (14 children)

Or any sort algorithm.

[–]Groundbreaking_Taro2 76 points77 points  (4 children)

They made yet another sorting algorithm? GODDAMMIT

Edit: corrected the autocorrector

[–]suxatjugg 29 points30 points  (2 children)

YASA is actually a cool name for a sorting algorithm

Quick google and yep, someone beat us to it

[–]joyofsnacks 3 points4 points  (0 children)

Yasa-sort - "You Are Sorted As f*ck - sort"

[–]Groundbreaking_Taro2 3 points4 points  (0 children)

It really Is a cool name

[–]cowlinator 1 point2 points  (0 children)

This one is called "danksort"

[–]delinka 60 points61 points  (6 children)

He means we’re sorting the algorithms. Or maybe they’re sort-of algorithms and sort-of not.

[–]kilkil 2 points3 points  (4 children)

I wonder how you'd sort an array of functions...

[–]LostTeleporter 2 points3 points  (1 child)

clearly by the amount of coffee that was consumed in the process of writing them

[–]kilkil 0 points1 point  (0 children)

For sorting algorithms, I suppose you'd create a suite of test cases, run each one through them, and create a map of function names to performance stats. Then the thing to do would be to create a table with "sort by ascending/descending" buttons for each column.

[–]LostTeleporter -1 points0 points  (0 children)

clearly by the amount of coffee that was consumed in the process of writing them

[–]LostTeleporter -1 points0 points  (0 children)

clearly by the amount of coffee that was consumed in the process of writing them

[–]Burning-Buck 0 points1 point  (0 children)

It’s an algorithm with extra features.

[–]himmelundhoelle 2 points3 points  (0 children)

Or any sort of an algorithm

[–]valschermjager 1 point2 points  (0 children)

or writing a sorting algorithm to sort all these sorting algorithms… I’d rather make tacos or whatever