Testing in programming is pretty important, no doubts about it, too bad that some languages make it difficult to test the code easly.
For instance C++ is pretty limited in terms of DbC and unit testing. All it ever supplied to programmers was a little assert() macro that stopped the program providing minimal info about the error and the place it was “caught” in. I mean there are exceptions in C++ and they are pretty usefull, but still it’s not enough and requires lots of effort in lerning and implementing correctly.
One can still say there are libraries such as CppUnit for those purposes, but we all know how it goes – the more I need to do to get some minor advantage the less I’m interrested in it, and unit testing is so underestimated it’s not considered an advantage to have a working piece of code anymore, how about that?
And speaking of DbC in C++… It is possible… bam (A sound of a thousand readers going “whaaa” this instant.)
Continue reading
Monthly Archives: March 2011
Hello world!
It’s worthy to say a couple of words about myself before all this crazy talk starts, so…
The name’s Kajtek, or Kieth if you please. I’m a nerd, let’s face it.
I like to code, I do it alot and there’s a good chance I’m doing it right now.
I’m going to become a robotics mastermind and the human race’ overlord, I’ll code that up.
This blog is the log of this process.