5 ms·
> rummage through Python’s PY Sequence List to answer the question “what kind of sort does Python actually use?”. If you needed to dig through source code to f
by cowsandmilk 6y ago
> rummage through Python’s PY Sequence List to answer the question “what kind of sort does Python actually use?”.
If you needed to dig through source code to find out that python use Timsort, I genuinely am curious about how bad you are at search engines.
I believe in reading source code to answer some things, but that example is really odd for anyone who has researched sorting algorithms since Python literally invented a sort used by many other languages now.
- gorgoiler 6y agoAhem, a more uncharitable person might retort with: If you need a billion dollar search engine and an internet connection to make sense of the source code on your local machine, I am genuinely curious how bad you are at reading source code! But as I said, that’s pretty uncharitable. Because of course I didn’t have the source code for Python locally. I downloaded it after Googling “Python source code”.
- cycomanic 6y agoThis reply made my day, thanks!
- kidsil 6y ago+ Negatively commenting on someone else's coding abilities. + Explaining something that is "obviously common knowledge". + Reducing motivation of participant to share their experience. I think we have HN bingo right here.
- FridgeSeal 6y agoIt needs “here’s why you should have used XYZ instead, obviously” to really round it out in my opinion.
- snovv_crash 6y agoDon't forget someone plugging their startup which solves this problem for the price of only 2 coffees per month.
- badrequest 6y agoIs it your experience that a significant portion of folks who write code in some form or fashion have "researched sorting algorithms?"