Skip navigation

Monthly Archives: July 2008

How to write Evil, Unstable code

How to write evil code? It’s easy, follow the guidelines. :)
Conditional Slalom - Always, always, feel good when writing lengthy if branches and switch statements. These increase the number of possible execution paths that tests will need to cover when exercising the code under test. The higher the Cyclomatic complexity, the harder it is to test! When someone suggests to [...]

Hard World of Ordinary User

I was in vacation last two weeks. My macbook was deliberately left at home, because I want to rest from the world of HiTech — that was vacation, right? Indeed, I left the HiTech world, but dive into the hard world on ordinary user. As you may assume I had access to computers and to be [...]

My Emacs Story

Diving Into…
I started using Emacs as a Linux IDE for a C++ project. At that moment I was also using IntelliJ IDEA for my personal Java project and wondered if I could have a comparable environment for C++ under Linux. My first try was to use Eclipse with CDT, but the experience was frustrating—CDT was [...]

DbAssert goes open-source

Some time ago I was working (in my spare time) on database testing tools. You could see posts about asserting data, putting the datastore to a known state and about mocking it up. I started working on it because I didn’t really like what dbUnit offered at that moment. I wanted my tests to be [...]

Beautiful JavaScript

If you don’t use JavaScript and not interested in learning it, you can stop reading now.
What always disappointed me in books on JavaScript is the fact that authors seldom separate JavaScript from Web programming. Thus, most books on JavaScript provide the description of features (syntax, built-in objects) and then jump to DHTML, DOM, AJAX and [...]