Final by default?
Walter Bright
newshound2 at digitalmars.com
Sat Mar 15 20:52:38 PDT 2014
On 3/15/2014 11:33 AM, Michel Fortin wrote:
> And it also breaks binary compatibility.
Inlining also breaks binary compatibility. If you want optimizations, and be
able to change things, you've got to give up binary compatibility. If you want
maximum flexibility, such as changing classes completely, use interfaces with
virtual dispatch.
Maximum flexibility, maximum optimization, and binary compatibility, all while
not putting any thought into the API design, isn't going to happen no matter
what the defaults are.
More information about the Digitalmars-d
mailing list