Final by default?

Araq rumpf_a at web.de
Sat Mar 15 00:13:14 PDT 2014


On Saturday, 15 March 2014 at 05:29:04 UTC, deadalnix wrote:
> On Saturday, 15 March 2014 at 04:03:20 UTC, Manu wrote:
>> That said, function inlining is perhaps the single most 
>> important API level
>> performance detail, and especially true in OO code (which 
>> advocates
>> accessors/properties).
>
> OOP say ask, don't tell. Accessors, especially getters, are 
> very anti OOP. The haskell of OOP would prevent you from 
> returning anything from a function.

Yeah, as I said, OO encourages bad design like no other 
paradigm...


More information about the Digitalmars-d mailing list