OOP Programming ...
Roger Oberholtzer
roger
Wed Oct 25 23:27:46 PDT 2006
On Wed, 2006-10-25 at 12:58 -0500, Ben Duncan wrote:
> Ok, been studying some C# training videos. Intrigued by the
> DotNote stuff with CLI for true transportability, in particular
> the MONO project .
>
> After having done some heavy lifting in C on my slag project,
> my gosh, OOP is a resource hog!!! Seems like everything is
> redundant, uses a lot MORE memory and just flat takes more
> coding effort to get it setup .... or is it just me?
Both yes and no. I do agree with your statements. For this and other
reasons we use C. But part of the OOP problem is it is easy to reuse
parts that almost do what you want. But in doing so, you get all the
stuff you do not need. I think OOP would be better in practice if people
built smaller classes that were less all encompassing. Of course,
getting all these individual classes to work together then takes time.
But the result would be smaller code. I think an OOP that gave thought
to how one could standardize class interactions would be a good thing.
But it is not an easy thing. So I doubt if it will ever happen.
--
Roger Oberholtzer
OPQ Systems AB
Ramb?ll Sverige AB
Kapellgr?nd 7
P.O. Box 4205
SE-102 65 Stockholm, Sweden
Tel: Int +46 8-615 60 20
Fax: Int +46 8-31 42 23
More information about the Linux-users
mailing list