r/programming • • Dec 02 '19

Bubble sort visualization

7.4k Upvotes

268 comments sorted by

View all comments

Show parent comments

2

u/BruhWhySoSerious Dec 02 '19

You know there is many ways to inefficiently sort a list.

That's a terrible assumption. Not everyone is as gifted as you.

We can't keep people out of a passing lane or use blinkers and you think people are naturally, and casually looking for better ways to improve their sorting efficiency?

2

u/[deleted] Dec 02 '19

What? All I am saying, is if you were to teach someone sorting algorithms, do not teach them something useless that has no potential to build up to anything useful.

What you are arguing is that the best way to teach a kid how to tie their shoes is by first showing them how to make a dead knot. Sure it's simple, but what is it's use, not like you can go on and teach other knots from there. You're basically teaching someone how to fuck up.