[fpc-pascal]Why Oop?

Florian Klaempfl Florian.Klaempfl at gmx.de
Fri Feb 22 12:34:51 CET 2002

At 08:32 22.02.02 +0100, you wrote:
>On Thu, Feb 21, 2002 at 06:32:55PM -0000, Chris Moody wrote:
> > You mainly need OOP if your writing a program that uses any kind of 
> Windowed
> > environment. While it would be theoritically possible to write structural
> > code that would work in a Window type enviroment, it wouldn't run all that
> > well.
>Oh, you really can't say so. The GTK+ library for example isn't OOP at
>all. And there were windowed systems long before OOP.
>There is nothing about OOP, that you couldn't do without.

The GTK is OO as well, but it is done in a lanugage which doesn't support
OOP with language constructs :) OOP means mainly three
programming technics: polymorphims, inheritance and encapsulation ...

More information about the fpc-pascal mailing list