Somebody of the FOSDEM team asked me to do a talk about programming techniques a.k.a. design patterns using GObject.
I have to decide whether or not I’ll do it tomorrow. So I thought, well .. okay. Let’s prepare some samples.
Because else this blog entry would be to long, I created a page that explains the proxy and strategy design patterns and contains the links to the samples.
Note that yes, I did read Head First Design Patterns. And that yes, I based the strategy sample on the chapter in that book.
Also note that I’m planning to create an XSLT for generating GObject interfaces and classes using codegen. If you want to help me with that, contact me.
There’s probably not a single good reason why to do this type of development using GObject and not using a higher environment like C# or Java. My talk will not illustrate why you should use a programming language like C with glib-object.h rather than C# or Java. It’s not going to be the point. I guess there’s no real reason. In fact is any discussion about which programming languages is the better, stupid. The talk will be about what is possible. I’m not going to play the defender of the GObject religion.