Compared to Python, I do not even consider C++ an object oriƫnted language.
2011/6/9 Ashwini Oruganti <msg.ashw...@gmail.com> > On Thu, Jun 9, 2011 at 2:18 PM, Alan Gauld <alan.ga...@btinternet.com>wrote: > > C++ grew out of C so it has a lot of non OOP features. It is no >> surprise to find therefore that its primitive types are related to >> memory allocation and raw data rather than objects. >> > > > >> No object is standard in OOP. It is a concept. It is the instantiated >> encapsulation of data and function. How it is created varies between >> language implementations. >> > > > Well, that clears it up! I guess Python is a wider implementation of OOP, > hence a wider use of objects. Thanks a lot. > > > > > On Thu, Jun 9, 2011 at 3:32 PM, Walter Prins <wpr...@gmail.com> wrote: > > Object Oriented code in e.g. a procedural language like C, which obviously >> doesn't support the notion of objects explicitly in the language, although >> then it's up to you to come up with conventions and infrastructure to >> support the concept of object orientation in your program. > > > > Didn't know that! It's interesting that GObject is itself written in C, > which is a procedural laguage.. > > > > > -- > Regards, > Ashwini > > > _______________________________________________ > Tutor maillist - Tutor@python.org > To unsubscribe or change subscription options: > http://mail.python.org/mailman/listinfo/tutor > >
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor