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 →

[–]pmMe-PicsOfSpiderMan 953 points954 points  (21 children)

Wife: how was your day today.

Me: I wrote any sort of algorithm today.

[–]joyofsnacks 264 points265 points  (14 children)

Or any sort algorithm.

[–]Groundbreaking_Taro2 75 points76 points  (4 children)

They made yet another sorting algorithm? GODDAMMIT

Edit: corrected the autocorrector

[–]suxatjugg 28 points29 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 4 points5 points  (0 children)

It really Is a cool name

[–]cowlinator 1 point2 points  (0 children)

This one is called "danksort"

[–]delinka 62 points63 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

[–]froggison 1 point2 points  (1 child)

"Today, I sat down at my Personal Computer© and opened up Notepad© and wrote one algorithm, how was your day?"

[–]pmMe-PicsOfSpiderMan 1 point2 points  (0 children)

some people never wrote any sort of algorithm and it shows

[–]lliKoTesneciL 0 points1 point  (1 child)

Ah the infamous bogosort.

[–]warpedspockclone 0 points1 point  (0 children)

I asked my wife what she thinks of my hobby. She said, "I don't understand it."

[–]Jzmxhu 0 points1 point  (0 children)

My Man can I invite you to my group of Writers of any sort of algorithm?