So, I have this Perl Scheme interpreter.
On the plus side, it has:
Re:Tests
pdcawley on 2002-04-25T09:13:37
Well, yes. I know. I've got this far just doing the 'I wonder if that works' thing. For true XP goodness I should now throw it away and start again from the tests, but I'm not going to do that. I'll just have to write a bunch of tests.
Re:Tests
pne on 2002-04-26T05:48:42
(Score:-1, Flamebait)
So... what you're saying is that XP is good in theory, but when some aspect of it becomes inconvenient because it's a lot of work, nobody really sticks to it?
Or, to phrase it a little differently, "Do as I say, not as I do -- I can't be arsed to follow the XP model 'properly' but I still think you should because it's great and makes your code better"?
(No ad hominem intended; those were just a couple of the thoughts that went through my mind when I read that.)Re:Tests
pdcawley on 2002-04-26T21:48:30
No offence taken. But I'm not enough of an XP zealot that I won't do personal work because there's nobody sat at the keyboard with me.
Actually, I'm still not sure how I'm going to write anything but acceptance (scheme level) tests for this thing, most of the structural classes are really simple; mostly there to to bounce double dispatched calls off and writing tests for accessor methods is one way of driving yourself mad.
The lack of tests is why I'm still uncomfortable about releasing it; it's a spike that didn't get stopped soon enough. (The perils of programming without a Pair.)Re:Tests
chromatic on 2002-04-28T20:35:56
...writing tests for accessor methods is one way of driving yourself mad. Hmm, I'm sensing a repetitive, mind-numbing task here. Could this be automated somehow?
:) Re:Tests
pdcawley on 2002-04-29T08:35:46
To what end? If your accessors are failing then your more meaningful test are going to show this up pretty bloody rapidly.AHA!
chromatic on 2002-04-25T14:45:28
I knew you were listening!
Put what you have on a website somewhere. Let other people worry about if they need all that other stuff. Only add it if you want it.