On Sun, 3 Sep 2000, David Stuart wrote:

> So, since we're already doing a kind of 'inheritance', and we are using
> 'interfaces' (like in object.h), I can't help wondering why the project
> wasn't done using an OO language (like say, C++)..
> 
> Don't get me wrong, I'm not advocating that we change (and I don't want
> to get into a debate about the merits of one language over another),
> I'm just wondering why.. :) (was g++ not 'up to snuff' yet?)

Well. There are several reasons. First of all, I'm just plain more used
to C. Second, the portability of C++ program isn't as good as Ansi C. This
is getting better all the time, so if i were to start a new project now
chances are that it would be C++. Third, C++ has not only good properties,
there are some bad too, like hard to keep binary compatibility (fragile
base-class) etc.

 
> My 2nd question, where can I find docs on the gtk and gnome APIs that
> dia uses? (hope I don't have to grok all that source code to figure them
> out myself..)

Well, start with the Gtk+ tutorial at www.gtk.org, then there is API
documentation, but it generally sucks. Then there is Havocs Gtk+ book, you
can buy it or download it.

I generally just browse the header files and read the source in case there
is some detail i need to know.

/ Alex



Reply via email to