Naming things

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Sat Jun 20 08:04:11 PDT 2015


On Saturday, 20 June 2015 at 09:27:16 UTC, Vladimir Panteleev 
wrote:
> I would like to present a very similar case in another 
> language, JavaScript.
>
> The String method has two functions with a similar name and 
> functionality: "substr" and "substring". If you were to search 
> the web, you can find a multitude of confusion over these 
> functions:
but see how you will hit some of that links by searching for 
javascript substr or something like it! what that gives is more 
popularity: everyone wants to write an article for such a hot, 
yet easy topic. thus, having the same naming in D inevitably 
leads to more articles about D, and to increased popularity!


More information about the Digitalmars-d mailing list