Job Interview Question: Sorting Records
Dev102.com has a few postings about interesting job interview question. His fifth challenge is this neat task:
You are asked to sort a collection of records. The records are stored in a file on the disk, and the size of the file is much bigger than available memory you can work with. Assume a record size [...]
Three Laws of Software Development
seecretGeek has a nice blog entry about the three laws of Software Development, inspired by Isaac Asimov’s Laws of Robotics (minor adaptations from me):
A developer must write code that creates value.
A developer must make their code easy to maintain, except where such expenditure will conflict with the first law.
A developer must reduce their code to [...]
Statistical Unit Tests with ensure4j
As part of another project I am developing ensure4j. The syntax (see the examples here) is working quite nicely, ensure4j is already very useful for internal use.
Lately I was busy adding tests that are able to verify if some code (e.g. an optimizer that uses random, like genetic algorithm, simulated annealing, …) produces the desired [...]
Redesigning JUnit Asserts
After reading about Behaviour Driven Development, using jMock for a while, and since I am very fond of Ruby’s core class APIs, I am sure the assertations of JUnit need a major overhaul.
This are the goals I have for the redesign:
addthis_url = ‘http%3A%2F%2Fmartin.ankerl.com%2F2006%2F08%2F02%2Fredesigning-junit-asserts%2F’;
addthis_title = ‘Redesigning+JUnit+Asserts’;
addthis_pub [...]
Behaviour Driven Development
Recently there has been quite a bit of fuss about Behaviour Driven Development. So, what is it all about? You should have a look at that presentation from Dave Astels, it is quite interesting:
Presentation: “Beyond Test Driven Development: Behaviour Driven Development”
You can also view and download the video here.
addthis_url [...]


