Improve D's syntax to make it more python like

Frustrated Frustrated at nowhere.com
Fri Mar 21 16:47:50 PDT 2014


On Friday, 21 March 2014 at 19:23:34 UTC, Russel Winder wrote:
> On Fri, 2014-03-21 at 18:55 +0000, Frustrated wrote:
> […]
>> Why not just learn the correct syntax instead of perpetuating 
>> ignorance? Python syntax is not modern. COBOL just needs to go 
>> away...
>
> D syntax is of course less modern than that of Python: Python 
> syntax is
> 1980s, D syntax is rooted in C syntax which is 1970s. It is an 
> error to
> equate the quality of a programming language with the age of 
> the base
> syntax: D and Python are both good programming languages, 
> different
> agreed.
> 


Um, ALGOL was created in the early 60's of which python's spacing 
scheme is based on. Just because python came out after C does not 
change that. Do you think it might have been possible that 
Ritchie learned the lessons of ALGOL of which Rossum spat in his 
face? Some people just never learn from history...

"Python mandates a convention that programmers in ALGOL-style 
languages often follow."

http://en.wikipedia.org/wiki/Python_syntax_and_semantics#Indentation




More information about the Digitalmars-d mailing list