Programming (2)

Gedit logo

Gedit PlantUML plugin 2.0.0 released

Development on the Gedit PlantUML plugin stagnated for while, but the last couple of months I finally managed to find some time to finish the planned redesign. It can be downloaded here.

This release targets Gedit3, and has a cleaner and better design. Firstly, it now uses Gedit for detecting when a PlantUML source file is saved (which triggers the re-generation of the UML), instead of periodically polling the file system. Secondly, it uses a multiprocessing approach to decouple the processing-heavy task of generating UML from Gedit. This greatly improves the responsiveness of Gedit. Lastly, the behavior of the PlantUML Viewer has improved, as it now shows a spinner when UML generation is in progress, and behaves better when moving UML diagrams.

Since most Linux-distro’s (including mine) ship Gedit3 nowadays, I decided to stop the development for the Gedit2 version of the plugin. Its latest development version is still available for download for those who need it.

Enjoy the plugin! If you encounter anything unusual, or would like some feature to be added, please don’t hesitate to contact me!



Laws of Test Driven Development

Test Driven Development

Last week my colleague Auke Klazema held a short presentation on Test Driven Development (TDD) – you can find it on his website. He already explained me the principles of TDD some weeks earlier, and I was able to implement a small Python module the TDD-way since. My initial experience is that TDD forced me to think about how I would want to use the module under creation early in the process. It also forced me to setup the implementation in a way that makes it more easy to verify. I’ll definately give TDD a try – in other words: try to supress the habit of starting with coding the functionality right away 🙂