What’s Wrong with OOP and FP
Jacob Carlborg
doob at me.com
Thu Nov 14 02:01:33 PST 2013
On 2013-11-14 10:37, Don wrote:
> I just can't escape the feeling that class-based runtime polyphorphism
> is almost never an ideal solution, and that most of the benefits and
> success of OOP languages comes from things other than OOP itself. And I
> think it's because OOP is philosophically nonsense -- in the real world,
> similarities between things are everywhere, but almost none of them are
> is-A relationships.
I think the most useful parts of OOP is encapsulation and have the data
and methods in the same place.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list