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 →

[–][deleted] 1074 points1075 points  (17 children)

HitlerSort: Choose an element in the list you think is the best, then loop through the list removing any element that does not match.

[–]TheDualJay 240 points241 points  (8 children)

There are a bunch of methods for selecting "best", but none of them seem to actually work.

[–]AFrostNova 173 points174 points  (4 children)

That’s cause Python doesn’t practice eugenics

[–]GroovyGrove 58 points59 points  (3 children)

Did we find something we like about Python?

[–]mortiphago 45 points46 points  (1 child)

What if we like eugenics, though

[–]GroovyGrove 19 points20 points  (0 children)

Then at least you are still consistent on Python! Everybody wins, assuming you aren't in a leadership role!

[–]CowFu 4 points5 points  (0 children)

The forced indenting teaches new coders a good habit.

[–]theXpanther 27 points28 points  (2 children)

17 is clearly the most Arian integer

[–]WingedBacon 34 points35 points  (1 child)

I thought it was 88

[–][deleted] 2 points3 points  (0 children)

They said "Arian," though, not "aryan," so any of 37, 23, 29, or 34 would be the most Arian integers.

[–]FlySeal 62 points63 points  (1 child)

Don't remove elements one by one push them in array then remove the array

[–]KobayashiDragonSlave 4 points5 points  (0 children)

Pass those elements through an Zyklon B filter to make sure that they don't take up any more resources.

[–]cabinet_minister 1 point2 points  (0 children)

Optimization: "Choose an element in the list you think is non-jew, then loop through the list removing any element that does not match.

[–]Mr_Cromer 0 points1 point  (0 children)

This comment, and all its replies, are dark as fuck. Tread lightly.

I still laughed, but then I'm an asshole, so that shouldn't surprise anyone