Does anyone actually use std.string.capwords or std.string.capitalize?

Jonathan M Davis jmdavisProg at gmx.com
Mon Jun 13 08:39:13 PDT 2011


On 2011-06-13 07:07, Adam D. Ruppe wrote:
> Jonathan M Davis wrote:
> > Is there anyone on the newsgroup here who actually uses
> > std.string.capwords or std.string.capitalize?
> > And if you do, do you use them often?
> 
> I use capitalize from time to time. It seems to work well enough.
> 
> 
> Is there really a need to break people's code every other day just
> because a random function doesn't do everything perfectly? Fixing
> bugs is one thing, but removing functionality is another.
> 
> At some point, Phobos devs need to realize that people actually
> *use* D.

Which is why I'm asking rather than just yanking them. Just because _I_ don't 
find them useful doesn't mean that others don't. If people actually use them, 
then there's reason to keep them. But there are a number of functions in 
std.string which at least _look_ like their of limited usefulness, and if 
they're really not used, then they shouldn't be there. However, if they really 
_are_ used, then getting rid of them would be a bad idea. So, I'm asking 
whether anyone uses them.

- Jonathan M Davis


More information about the Digitalmars-d mailing list