Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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


If 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: