måndag 9 maj 2011

By the way... sqlite visualization script is on GitHub

SQLite is great, and I needed a script to visualise the schema of the data base I am using for the documentation. So, this meant the birth of sqlite2dot (https://github.com/dargosch/sqlite2dot) which takes an SQLite database and outputs a .dot file wich when vizualised using graphviz shows the tables and the foreign key constraints between these tables in a graph. Very handy.

Back to oriented programming...

I find myself going back to the object oriented programming paradigm more and more for my Tcl project. Just a very convenient way of encapsulating data, and it fits well with how I think about things too. And it maps well with the relational database idea.

But I refuse to do inheritance though. Just plain refuses.. 
Inheritence is evil!