Boo's Design By Contract
Sorry for being so silent lately, I've been struggling to get Desing By Contract working for Boo. I got myself into some problems there that I had some really tough time to crack. I'm glad to say that I passed the most major hurdle, which is to get the code to compile the output correctly. It was a touch & go for a while, but I've managed to get it to work as I wanted it.
I've been struggling with this particular problem for a four days or so, trying different work arounds until I found one that work. The code is ugly as hell (and I've a second opinion on that :-) ), but it is working. I'm going to write some test cases* for that and then I'll start making the code more pleasant on the eye.
If you want to read it, the code is available here**, ***.
* Yes, in this particular instance I was walking in to a complete and unknown territory. I wrote code and immediately verified the output myself. I went testless to explor the new territory. Now that I know the lay of the land, I know what I need to test for.
** Not for the faint of heart.
*** This is going to stay up only for a few days, hopefully.
Comments
Comment preview