Follow-up post explaining research rationale

qznc via Digitalmars-d digitalmars-d at puremagic.com
Tue May 10 02:26:39 PDT 2016


On Tuesday, 10 May 2016 at 06:47:50 UTC, Joakim wrote:
> I agree that PL use of such symbols can be counter-intuitive- 
> rather than ending statements with a "." and joining them with 
> a ";", PL syntax flipped the two- but history has a lot to do 
> with the status quo, for the same reasons that English has not 
> been "cleaned up" in a long time either.  You may be right 
> about learnability, but that's not what is considered most 
> important.

Wrt to distinguishing types and variables, we also do not do this 
in english prose. We could for example distinguish verbs and 
nouns with some punctuation. This would make a sentence like 
"Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo" 
more clear.

We do distinguish names via upper case. In many programming 
languages this is convention. In some it is even mandatory. 
Usually it is switch around though. Names are lower case, but 
classes are upper case.




More information about the Digitalmars-d mailing list