3 ms·
At no point in my life my code has been made worse because I've used an existing sort function instead of writing a buggy one
by jcelerier 2y ago
At no point in my life my code has been made worse because I've used an existing sort function instead of writing a buggy one
- SleepyMyroslav 2y agoIf we ignore 'buggy' part I think you projecting current good state back into not so good old times. I am pretty sure you will not replace radix sort that uses domain knowledge of reduced value range with qsort circa C++98. Things became much better after relatively recent improvements in generalist sorting libraries: when pattern defeating quick sort variants became norm, when mostly sorted cases got covered ... Tbh I do have a case from 2013-16 when I regret not doing it for one AAA project on ps4.