eliminate junk from std.string?

Nick Sabalausky a at a.a
Tue Jan 11 12:33:26 PST 2011


"Walter Bright" <newshound2 at digitalmars.com> wrote in message 
news:igib2q$12g8$3 at digitalmars.com...
> Adam Ruppe wrote:
>> I don't know about bearophile, but I used a lot of the functions
>> you are talking about removing in my HTML -> Plain Text conversion
>> function used for emails and other similar environments. squeeze the
>> whitespace, align text, wrap for the target, etc.
>
> As has been pointed out, a lot of these seemingly odd functions come from 
> Python/Ruby/Javascript. Users of those languages will be familiar with 
> them, and they've proven themselves handy in those languages.
>
> Let's not be cavalier about dumping them just because they aren't familiar 
> to C programmers.

I agree with this reasoning for having them. However, I don't think it means 
we shouldn't D-ify or Phobos-ify them, at least as far as capitalization 
conventions.




More information about the Digitalmars-d mailing list