4 ms·
Meta note - although some older languages have the same issue of cruft in their standard libraries, I thought it's better not to mention them. I felt it's bette
by nindalf 5y ago
Meta note - although some older languages have the same issue of cruft in their standard libraries, I thought it's better not to mention them. I felt it's better to keep it focussed on Rust. Even though it's relatively new and has a small standard library, it has accumulated code that look like mistakes in hindsight.
- melissalobos 5y ago> it has accumulated code that look like mistakes in hindsight. I don't think there is any language that people use that doesn't have this issue. C++ for example has a huge number of warts. Ideally like with std::auto_ptr they are deprecated and removed over time.
- nindalf 5y agoRight, it's completely fine. You'd have to be an oracle to write software that never rots at all. I'm not criticising anyone who has written or signed off on adding code to any standard library that was later deprecated. However, in hindsight it was the right call to not add some libraries to Rust's standard library. In some cases, they turned out to be dead ends (rustc_serialize) or needed a lot more time to bake (rand).