On 12 September 2014 17:44, Daniel Murphy via Digitalmars-d <
[email protected]> wrote:

> "Manu via Digitalmars-d" <[email protected]> wrote in message
> news:[email protected]...
>
>  So, can we talk about virtual by default again?
>> Daniel Murphy was behind it wrt c++ compatibility.
>> It's still driving me insane. All things I said will happen do happen,
>> constantly.
>>
>
> It's not required for C++ interop, it's just a huge pain in the ass since
> you have to mark nearly every function as final.
>

Yeah, but that's true regardless of C++ interop. It's so easy to make
mistakes, and so hard to find them when you do. virtual-by-default is
responsible for most of the silent errors in my code by far.
Surely, at very least, an extern(C++) class should be final-by-default?

Reply via email to