3 ms·
in what way did I misunderstand? > C makes it too hard to use a sorting library that someone competent has written. rust makes it easy to create generic data
by cultofmetatron 3y ago
in what way did I misunderstand?
> C makes it too hard to use a sorting library that someone competent has written.
rust makes it easy to create generic data structures via generics. It would be trivial to swap between different underlying sorting algos as long as it was given a type compatible function for how to compare the contained items.
what exactly am I not understanding here?
- TingPing 3y agoThe fact that this was a developers mistake and has nothing to do with the language.