more naming

Torarin torarind at gmail.com
Sat Jan 22 10:16:26 PST 2011


2011/1/22 Andrei Alexandrescu <SeeWebsiteForEmail at erdani.org>:

> That's what I'm fearing - changing current replace to replaceAll and adding
> replace with the meaning of replaceFirst would silently change the semantics
> of existing code.
>
> Andrei
>

Yeah, I see that problem. I'm just so used to "replace first" being
the default in text editors, and then you have a "replace all" button
if you want to replace everything. That also seems to be Walter's
reasoning in std.typetuple.


More information about the Digitalmars-d mailing list