Pipe-Syntax?

Somedude lovelydear at mailmetrash.com
Wed Dec 21 05:42:37 PST 2011


Le 21/12/2011 13:54, Dejan Lekic a écrit :
> 
> Perhaps I should think more about it, but right now I am 100% against it, as 
> it makes the code extremely unreadable to an imperative programmer.
> 
> .... 
> My opinion - we should strive for a good ballance between imperative and 
> declarative in D, not to include every possible feature a functional 
> language might have.
> 
I second this opinion. Multiplying different syntaxes just for the sake
of "simplifying" code here and there is a good way to make the code
unreadable.
Even in Python, you can write unreadable code by abusing from functional
syntax. Eventually, Guido van Rossum discourages this kind of writing.


More information about the Digitalmars-d mailing list