Re: 2. Re: General tips about GTK+ programming



Ali Abdallah wrote:



----------------------------------------------------------------------

Message: 1
Date: Tue, 3 Mar 2009 09:39:51 -0300
From: Tomaz Canabrava <tumaix gmail com>
Subject: Re: General tips about GTK+ programming
To: Vlad Volodin <vest 84 gmail com>
Cc: gtk-app-devel-list gnome org
Message-ID:
    <7ebbb4b50903030439k5e4bc73asff21305eefd84f80 mail gmail com>
Content-Type: text/plain; charset=ISO-8859-1

from what I'v been into, it's better to write object oriented software
using object oriented programming languages. I know some in this list
dislikes c++ , but it's more sane than use pointers and simulations of
classes.
you will not learn how to program better by converting your gtkmm code
to gtk, your code will be larger and will do the same thing.
  
I think what he was saying about "learning more when converting his
program to GTK" is valid,
since in C you deal with lower level programming than C++ , also you
know Gtk+ is written in C,
so when he gets used of C/Gtk/GObject programming he could easily
understand the way Gtk+ is done.

My 2 cents.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Is there a way to start adding C++ code to an existing C GTK program?
How would you start to convert a GTK program written in C to a GTK
program in C++?

Thanks,
dave



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