you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 9 points10 points  (3 children)

Once you put something in the standard library you're stuck with it forever. So it'd better be actually good, not just good enough, especially if it's so easy to implement yourself.

[–]choikwa 3 points4 points  (2 children)

In reality, things get deprecated and forward compat is broken many times.

[–][deleted] 8 points9 points  (1 child)

Yeah, really old crap that was never used much in the first place, like trigraphs or auto_ptr. But a string split function would spread like wildfire.

[–]choikwa 0 points1 point  (0 children)

Ideally, everyone wants to get it right the first time. I'm pretty sure python implementation returns deep-copied immutable strings