On Tuesday, 11 March 2014 at 21:35:12 UTC, Ola Fosheim Grøstad
wrote:
On Tuesday, 11 March 2014 at 21:29:00 UTC, Dicebot wrote:
final: // want all to be final by default
// ...
virtual void foo() {} // but this one function
Doesn't this make room for undetected bugs?
Generally the syntax should have enough redundancy to prevent a
single typo (missing ":") from completely changing the
semantics.
Ola.
Mostly depends on the way you format the code. It is perfectly
consistent with existing @safe / @system interaction though and
allows to define defaults in user code without changing anything
in the language ;)