4 ms·
Yes, for example, I am doing embedded development and do not use the standard library at all. There's not a lot of reason to re-implement it, because if you ca
by steveklabnik 6y ago
Yes, for example, I am doing embedded development and do not use the standard library at all.
There's not a lot of reason to re-implement it, because if you can use it, there's not a lot of reason to not just use it.
There are people who make even more string types as packages, and use those. smallstr and bstr are two examples of those.
- lampe3 6y agoSure fair point on embedded devices I can see it. In the context of Backend/Frontend development I would question it. I had a colleague who rewrote some string functions in Java which are part of the stdlib. He called them "Arne Tools". Arne is a name in Germany. We were doing Java Applets back then. I always have to think of that example :D
- steveklabnik 6y agoSure, but just because it’s in the standard library doesn’t mean you use it all the time. 95% of my usage on non-embedded targets is String and &str. The “six string types” makes things seem far more complex than they are.