Comment by Chaosvex

13 hours ago

That article probably isn't the best source to cite. You can look at the discussions on it elsewhere, although I'd just dismiss it as slop.

The standard library is mostly fine to use unless you have specific needs.

The bit about libraries is nonsense, sorry.

The article might be slop, but the problems described in it are definitely real ;)

  • Grossly exaggerated or misunderstood in many cases. Some of their arguments are just flat-out wrong.

    I mean, why are they blaming the standard library for inherent properties of linked lists? Yeah, you don't want to use them without good reason. That's just called picking the right data structure for the job, not a flaw with the standard library.

    Some of the other choices were tradeoffs between performance and usability. The standard maps have stable iterators, whereas third-party implementations almost never do because you can write faster implementations if you're willing to live without those guarantees. Was it the right choice in hindsight? Maybe, maybe not.

    I'd personally like to see a namespaced versioned standard library but like that's ever going to happen

    • As I understood the article, the main critique is that the stdlib has no concept of deprecation and breaking backward compatibility. E.g. the C++ committee is quick to add badly designed features to the stdlib but then can't roll them back when people actually realize that those new features are useless for most real-world code.

      6 replies →