Board index » delphi » Ups and Downs of OOP

Ups and Downs of OOP

I'm wondering... What are the positive and negative aspects of using OOP
over regular Pascal programming methods?

Is there normally an increase or decrease in speed at all?

Is there normally higher memory requirements?

Are the end programs faster or slower, and do they normally compile to
bigger EXE's?

        -- Kim Forwood --

  /-=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=-\
  $           Kim Forwood  <kim.forw...@access.cn.camriv.bc.ca>          %
  %         For what purpose is life, if one cannot live freely?         $
  \-=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=-/

 

Re:Ups and Downs of OOP


I am doing OOP in Pascal for many years and regard myself quite
experienced. My opinion is that with OOP, programs tends to be a bit
bigger bigger and slower.

When I was beginner with OOP, however, my programs were much bigger (and
slower). But then I found the ways how to improve things. When OOP is
used properly, then the performance and size penalty is quite low and is
farly outweighed by the easines of program modification, code reusability
etc.

Also, most speed and size problems come from general algorithm design
problems, not from the p[ecularities of the language or compiler.

Z.

On 16 Apr 1996, Kim Forwood wrote:

Quote
> Date: 16 Apr 1996 13:08:12 PST
> From: Kim Forwood <Kim.Forw...@access.cn.camriv.bc.ca>
> To: info-pas...@ARL.MIL
> Newgroups: comp.lang.pascal.misc
> Subject: Ups and Downs of OOP

> I'm wondering... What are the positive and negative aspects of using OOP
> over regular Pascal programming methods?

> Is there normally an increase or decrease in speed at all?

> Is there normally higher memory requirements?

> Are the end programs faster or slower, and do they normally compile to
> bigger EXE's?

>         -- Kim Forwood --

>   /-=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=-\
>   $           Kim Forwood  <kim.forw...@access.cn.camriv.bc.ca>          %
>   %         For what purpose is life, if one cannot live freely?         $
>   \-=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=-/

Other Threads