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

Re: C Tutorial ?



Il giorno gio, 11/05/2006 alle 19.16 +0200, Olaf van der Spek ha
scritto:
> On 5/10/06, Michelle Konzack <linux4michelle@freenet.de> wrote:
> > Why C++ if she do not need it?
> 
> That sounds like the wrong question.
> It's not like needing a computer, you could just use your calculator.

Nah she's right:

> Note that programming GTK+ in C is not "C programming", it's "GObject
> programming".  This requires that you know not only about how objects
> are implemented on a fundamental level by the C++ compiler (virtual
> method despatch with vtables, typeinfo, inheritance, polymorphism,
> RTTI etc.), but how to re-implement these concepts in C.  And, in
> addition, several features from smalltalk such as properties.

I don't think that C++ is really _needed_ to learn basic GTK+
programming. Of course if you know all the low-level implementation of
classes/objects things will be much clearer, but it's not "crucial" at
first.

~marco

Attachment: signature.asc
Description: Questa =?ISO-8859-1?Q?=E8?= una parte del messaggio firmata digitalmente


Reply to: