Naming things in Phobos - std.algorithm and writefln
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Wed Aug 5 08:06:07 PDT 2009
Michel Fortin wrote:
> Alternatively, "writefln" could be an exception to the rules, but then
> the exception would need a better rationale than "it shouldn't look like
> Java". I mean, if Phobos makes unjustified exceptions to its naming
> conventions here and there for no good other reason than "it looks
> good", it breaks the concistency and makes function names less
> predictable and less readable.
I agree that Phobos' names could use a good overhaul. That would make it
easier for growing it too.
Certain names could be kept short and intuitive although they don't fit
common conventions.
Andrei
More information about the Digitalmars-d
mailing list