What are the worst parts of D?

bearophile via Digitalmars-d digitalmars-d at puremagic.com
Thu Sep 25 14:22:37 PDT 2014


eles:

> "he stripLeft function will strip the front of the range, the 
> stripRight function will strip the back of the range, while the 
> strip function will strip both the front and back of the range. 
> "
>
> Why not, for God's sake, stripFront and stripBack?

Perhaps those names come from extending the names of "lstrip" and 
"rsplit" of Python string functions.

Bye,
bearophile


More information about the Digitalmars-d mailing list