Improve D's syntax to make it more python like

Timon Gehr timon.gehr at gmx.ch
Fri Mar 21 17:43:19 PDT 2014


On 03/22/2014 12:47 AM, Frustrated wrote:
>>
>> 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.

=D.

http://en.wikipedia.org/wiki/ALGOL#Examples_and_portability_issues

> 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?

No way.

> 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

Yup. ALGOL-style languages such as D.


More information about the Digitalmars-d mailing list