Why is generating code with the Build feature in Glade 2 “bad”?
Although this may be an opinion, it is an opinion that is shared among a majority of developers working on real-world, large-scale GTK+ applications. It is so highly recommended to avoid this deprecated feature of the older Glade 2 that is was completely removed in Glade 3. There are many arguable reasons why it’s “bad” to generate C code from Glade 2 using the ‘Build’ feature. Here are a few… • No choice in programming language. Using the Libglade/GtkBuilder methods can be implemented in dozens of languages independent of the GUI designed in Glade. • The style and naming conventions are not likely to match those of the application programmer’s or the community at large. • The generated code will likely uses deprecated code and naming conventions. • Most experienced developers won’t want to help with problems that may come up as they would likely be avoided by avoiding code generation. • Generating the code from glade again after editing previously generated code is likely to have pr