Final by default?

Paulo Pinto pjmlp at progtools.org
Sat Mar 15 01:32:34 PDT 2014


Am 15.03.2014 06:29, schrieb deadalnix:
> 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.

What?!?

Looking at Smalltalk, SELF, CLOS and Eiffel I fail to see what you mean, 
given that they are the grand daddies of OOP and all have 
getters/properties.

--
Paulo


More information about the Digitalmars-d mailing list