R
Richard Heathfield
Mark McIntyre said:
That was the original justification for allowing it in the case of the
initialiser, but it's very simple to handle the more restrictive syntax (or
at least, those who do not find it so should possibly not be writing code
generators...).
<shrug> It seems like quite a language wart for such a small benefit.
[...] It's a completely pointless extension. The only reason I can
think of for it is consistency with the equally pointless trailing comma
on an initialiser list.
Well, I don't know. I've found a use for it oft-betimes, for example
if you're generating lists via a script,
That was the original justification for allowing it in the case of the
initialiser, but it's very simple to handle the more restrictive syntax (or
at least, those who do not find it so should possibly not be writing code
generators...).
or if you're adding or
recordering elements time to time.
<shrug> It seems like quite a language wart for such a small benefit.