[Issue 11488] FORTRAN "FORI=" Error

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Jan 31 23:35:35 PST 2015


https://issues.dlang.org/show_bug.cgi?id=11488

--- Comment #2 from Manfred Nowak <svv1999 at hotmail.com> ---
(In reply to Stewart Gordon from comment #1)

If chaining of "-", "--". "+" and "++" is used heavily, then disallowing to
shoot oneself is okay. Hint: "- -- -- -- - --- -- - -- ---- - -- - --x" is
currently a legal expression and I doubt that one can _see_ in general the
positions at which a significant space is wrongly placed or deleted.
Disallowing chaining requires to use paired paranthesis in such cases, which
doubles the number of wrongly placed characters needed to make an error slip
through.

BTW: allowing such chaining makes D similar to an esoteric language.

If chaining of those operators will never be used heavily, then there is no
ratio for allowing the chaining.

--


More information about the Digitalmars-d-bugs mailing list