So this means whenever I'm writing new code involving OldNewPerson, if I need to reuse OldPerson-based functions, I must make that code a member of NewPerson. ...
Putting this into practice, it seems like I'm going to end up with oodles of methods in one class (instead of oodles of external methods directly accessing the...
Hi, Guys! Just wanted to say hello. I'm new to TDD and wanted to join this group to learn more about it. The main premise of "Only ever write code to fix a...
Welcome, Tom, ... I was quite amazed when I first tried TDD, too. I find it gets easier when I take smaller steps. I often think, "What39;s the smallest next ...
Hi, George! You're right, asking yourself good questions about the next step helps a lot. But also knowing what you're trying to achieve at each level. If...
Hi, I'm experimenting with an idea of starting a newsletter on agile testing/tdd/bdd provisionally titled "Oh no, it's Monday!". Here is the first one: ...
I like it. Easy to see which bits would interest me straight away. Nicely done. Please post when edition 2 is up. Cheers Dave ... [Non-text portions of this...
Hey Gang, The 'New' job is going well, Unit testing is 'sort of' happening on new stuff, not that there IS much new stuff Here is the issue. Legacy code....
Are you think this piece of code need to have unit test eventually? Or you plan to just throw it away? If you plan to add back unit test eventually, might be...
34027
daswartz@prodigy
daswartz@...
Jan 10, 2011 5:54 pm
Hello Gojko, Thank you. I love it when other people do some of the work of keeping track of interesting stuff for me. Doug...
I have tried to write a Flash Card app several times using TDD - never with very satisfactory results. I just started again - as a sort of kata - and...
So, I admit it, I very often start with a few simple tests involving getters and setters. In other words, form the very beginning I "ask" instead of "tell"ing....
On Wed, Jan 12, 2011 at 7:29 AM, Donaldson, John (GEO) ... That responsibility doesn't seem to belong to the card. ... I see Card as more of a value-object, it...
One of the interesting links in Gojko's "Oh no it's Monday" newsletter was to Bob Martin's idea about transformations. It's pretty nice, cool idea - maybe even...
Kaleb, Thanks for the reply. CardHandler will do fine to start - we can separate the verifying out later - but it's still a huge stretch to get that first test...
Hello, sorry for not answering for a while. I'll re-attach to this thread here. Try this in a branch maybe, but not for too long. You should notice that these...
On Wed, Jan 12, 2011 at 7:29 AM, Donaldson, John (GEO) ... I assume you mean this one: http://cleancoder.posterous.com/the-transformation-priority-premise It...
... Disclaimer: Have not tried this yet.. but looks promising enough to merit a fair trial That was my knee-jerk reaction but then I let it percolate for a...
Adam, Yes, I am almost certainly over-analyzing. But, that was sort of my intention - try to be strict about Uncle Bob's transformations and try to be strict...
Gishu, Yes, I took the list the same way. And so I thought - ok, let's try it - and of course ended up with a lot of introspection. :-) Apart from the points...
I think the confusion is in thinking there is a null card. Some stuff is 0,1,2,n. Some stuff is null or present. Some stuff is just stuff. You gotta have it....
Alan, yes I think you are right - Bob's list will depend on the stuff it's being applied to. But perhaps the beginner's discipline should still be to ask: "can...
Right. I guess what I meant to say is something like this: Programming is sort of like music. There are all sorts of interesting patterns at various levels and...
Hi again - and sorry for the late reply, it's been a hectic week... Look - it's hard to say what would be right for you. I don't really know all the details of...
We've plunged in, and it seems comfortable. Our system is full of obvious concrete objects that up to now were not modeled with classes, but obviously could...