Quoting <[EMAIL PROTECTED]> from ml.softs.gtk-gnutella.devel:
:Why not using C++ for GTK-G ?

Why using it? ;-)

:I saw you were using such notation '[object]_[method]'. You widly used
:'[object]_init' or '[object]_close' or '[object]_shutdown' and this
:looks like objects initialisations and destruction. So why ?

Yes, this is modularity.

Actually, the C code of GTKG is a mix of procedural style and OO style.

I don't like C++.  It's not really an OO language.  At first sight it
might appear to be one, but it is not.  And it's so easy to write a mess
in C++ that, brrr... it's not very encouraging.

(I can develop why I think C++ is not an OO language if you want.)

Furthermore, it takes better engineers to do OO design properly.
Trivial OO design is easy, good OO design is hard.  It would be harder
to find good OO programmers than it is to find good C programmers.

Finally, I don't know how good gcc is as a C++ compiler.

But yes, I confess re-writing in an OO language would be nice.
Unfortunately, the only OO language I know of is Eiffel.

Raphael


-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
Gtk-gnutella-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to