[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: object-oriented C programming




WTF are you talking about?

Object-oriented means the system provides a way to specify inheritance
relationship. Where is inheritance, here?

It is not even object based programming beacuse this approach clearly
lacks some essential properties of an object system. I guess you could
have a look at some textbook to find out why not!

I'd recommend you to play with C++, CLOS, Eiffel, etc. and then come
back and rant about "OO programming in C". In case you haven't noticed
people have been doing some sort of object-based programming in C for
a long time. Have a look around and  you'll see that you can implement
a fairly complete class based system with inheritance, too. GTK+ might
be a good place to start.

-- 
Eray (exa) Ozkural
Comp. Sci. Dept., Bilkent University, Ankara
e-mail: erayo@cs.bilkent.edu.tr
www: http://www.cs.bilkent.edu.tr/~erayo



Reply to: