3 ms·
> "Any programmer could write a fairly good test suite for "sort". However, I highly doubt they could write the implementation." I mean, any developer should b
by strictnein 9y ago
> "Any programmer could write a fairly good test suite for "sort". However, I highly doubt they could write the implementation."
I mean, any developer should be able to write a sort. They might end up with some O(2^n) behemoth, but they should be able to do it.
- bluGill 9y agoAny developer should know the basic algorithms. If you tell one to write sort they should immediately think to look up merge sort is implemented. My algorithm will be O(n ln n), not because I'm great at creating algorithms but because I know I can do better.