Just because it's a slow Thursday on this forum

w0rp via Digitalmars-d digitalmars-d at puremagic.com
Wed Feb 10 12:25:44 PST 2016


On Wednesday, 10 February 2016 at 19:30:26 UTC, Andrei 
Alexandrescu wrote:
> On 02/10/2016 01:51 PM, w0rp wrote:
>> I wonder if the addition of another function for printing will 
>> confuse
>> some new users.
>
> In my experience:
>
> * two names for the same exact thing => annoyance (not only in 
> D, e.g. dual use of "class" and "typename" in C++)
>
> * two different names that do the same thing in slightly 
> different without a distinction, interchangeable ways => 
> confusion and annoyance (e.g. "class" vs "struct" in C++)
>
> * two names that do the same thing, one poorly and one better 
> => confusion (e.g. "stringstream" vs. "strstream", vector<bool> 
> vs vector_bool in C++)
>
> * two names that do two similar, but distinct things => "oh ok" 
> (e.g. "map" vs. "multimap").
>
> So I think we're safe.
>
> Andrei

Yeah, that makes sense. Fair enough.


More information about the Digitalmars-d mailing list