Category Archives: Programming

Align parameters of a C function declaration, with lineup-parameters

Renaming a GObject class can involve a lot of manual work. Once the type is renamed, the parameters of the function declarations are no longer aligned. In the following example, GtkSourceSearch has been renamed as GtkSourceSearchContext: guint _gtk_source_search_replace_all (GtkSourceSearchContext *search, … Continue reading

Posted in Programming | 3 Comments

Developing graphical IDEs the UNIX way

Programming on a UNIX environment generally involves the use of command line tools: vim/emacs, git, grep, sed, screen/tmux, and so on. What is really nice about these tools is that they do only one thing, but do it well. Now, … Continue reading

Posted in Programming, Thoughts | 22 Comments

About code quality and maintainability

It can be difficult to write clean code, that is easy to understand, split in nice and well-defined functions that do one thing but do it well, with good variables names, and so on. For the maintainability, it is really … Continue reading

Posted in book reviews, Programming | 1 Comment