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

--- Comment #2 from Manfred Nowak <svv1...@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.

--

Reply via email to