eliminate junk from std.string?

Walter Bright newshound2 at digitalmars.com
Tue Jan 11 11:27:42 PST 2011


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.


More information about the Digitalmars-d mailing list