bearophile wrote:
BCS:
A though on the comma operator: if the comma operator were defined to give
a tuple type and be implicitly castable to any suffix of it's self, then
you could get both the comma expression usage that Walter wants as well as
all the fun things that tuple expressions give.
D2 has enough warts now, so it's much better to not add some more. Languages
must be tidy, when possible. It's often better to not have a feature that
having a dirty one.
I think in this case, it's more about cleaning up and polishing, than
adding "warts".
The big danger is, that this may require incompatible language changes,
which won't be possible anymore after D2. D3? Anyone who talks about D3
must be kidding.
Bye,
bearophile