Nick Sabalausky wrote:
"Walter Bright" <[email protected]> wrote in message
news:[email protected]...
Michel Fortin wrote:
That's an argument against returning the value of the last statement.
It's not an argument about making the last semicolon optional, is it?
Yes, it is an argument against it. It means the semantics can vary
dramatically depending on whether a ; is present or not.
But that's only true when the language, unlike D, has implicit returns,
right?
Right. But D (and C, C++) do not have implicit returns, and so this syntax is
not right for them.