On Sun, 1 Apr 2012 16:09:22 +0200
Marco van de Voort <[email protected]> wrote:

> On Sun, Apr 01, 2012 at 12:52:02PM +0200, Mattias Gaertner wrote:
> > > OOP was already implemented in Borland Pascal.
> > 
> > AFAIK this was only the "object" syntax, not the "class" syntax. IMO
> > the "object" syntax is too limited to be called true OOP. 
> 
> TP Object syntax was perfectly valid oop. It provided mechanisms for all
> important OOP features:
> 
> 1. combining data and behaviour (code)
> 2. instantiation - one could instantiate multiple objects
> 3. encapsulation - private, public
> 4. polymorphism  - provided by inhertiance + virtual methods.

Ah, I thought the virtual methods were missing in TP.

Thanks.


Mattias

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to