Hacker News new | ask | show | jobs
by curt15 2738 days ago
Is GTK intended to be the programming environment aimed at typical developers? Writing object oriented code using lots of boilerplate C macros seems quite a bit more tedious than using a language designed for object oriented programming from the ground-up. At the very least will GTKmm be a first-class citizen?
2 comments

> Writing object oriented code using lots of boilerplate C macros seems quite a bit more tedious ...

If you are not aware, recently (since GLib 2.44), the boilerplate code required in C is a lot less than it was required before. Say for example see app.c and app.h files at https://gitlab.gnome.org/GNOME/gtk/tree/master/examples/appl...

There are GTK bindings for Python, JavaScript, Rust etc. It does not have to be C.

In fact it could be Qt too, that'll run perfectly fine too, if GTK isn't your thing.