[Issue 2659] Remove the comma operator

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Mar 11 07:12:57 PDT 2014


https://d.puremagic.com/issues/show_bug.cgi?id=2659



--- Comment #11 from bearophile_hugs at eml.cc 2014-03-11 07:12:54 PDT ---
(In reply to comment #8)
> In some cases comma operator is useful.
> I disagree with that we need to deprecate it.

As usual you have to weight all the advantages against all the disadvantages
and then decide.

>From my experience in coding in C/D the usages of the comma operator are good
when formalized (like inside variable definitions, in function arguments, etc),
but in free/wild situations it's too much risky (and using it for tuples some
years from now is a better use).

So please try to list every one of your useful usages of the comma operator,
and let's see.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list