Hello ... You've mentioned that your area of concern is applying TTD to GUI's. I was wondering if you could elaborate a little on what you've learned? Are...
... I'm x-posting this to a mailing list on the subject of TDD+GUI. ... If our GUI toolkits had themselves been invented via test-first, we would not be having...
... I would add that it's often also a good thing to refactor code that you need to *understand* (even if you don't need to change it). Regards, Ilja...
... you have ... Hi Ilja, I have been thinking about this, and it makes sense - if you are working with some code and your neighbourhood of objects/code isnt...
... with some code and your ... idea to improve the ... Of course, that is a good reason for refactoring if you need to understand that code to get your...
... makes sense - if you are working ... Yes I understand that. Expressiveness is a product in improving understanding. But a well written piece of code...
... Under what circumstances would you need to understand a section of code but not need to modify it? One circumstance I can see why there might be a need to...
... I was still talking in reference to what Ilja said previously. ... That makes sense. ... Yes. When I wrote my original reply, I was considering in my mind...
The next Phoenix eXtreme Programming User Group meeting will be held on Monday, June 9th. This is an informal gathering of Phoenix area developers and project...
Greetings! I seem to run into a bit of difficulty when I am using TDD to write code that meets business-rules-type logic. Perhaps this is a function of my...
I'd agree to a certain extent, however I do think there is times when refactoring code can be done regardless of changing the code. If you have ROI in mind...
... Hi Gern, I think John Roth is right when he says this is a kinda of rule-driven event system. I worked on a project which had similar business rules, in...
... One solution I've used for this kind of problem is a bidding system. You have a class for each rule, all with a common interface. The interface contains...
... Yes, the bidding aspect is the part of the blackboard pattern we used in ours and it worked very well. The business code is closed to business rule...
... Seriously (and unfortunately), given the code I am currently working on, sometimes I can only guess and refactor until I find out... :( Regards, Ilja...
Seriously (and unfortunately), given the code I am currently working on, sometimes I can only guess and refactor until I find out... :( Regards, Ilja Amen to...
Thanks for the pointers! I'll study up on the BlackBoard pattern. I have two separate threads of thought: 1. It seems that finding a good algorithm for the ...
... Exactly. The bid is the precedence factor. Typically, a rule bids according to how "specific" it is. In your example above, rule 1 is fairly general, so it...
... With business rules represented as objects, which I consider to be good, why can't each business rule know whether it overrules another? A rule could...
... Hi,I think in general its difficult to develop any kind of 'mathematical algorithm' with TDD. For example an algorithm on computing primes. Has anybody...
... Sure. Instead of bidOn() you could have a method like overrides(rule, order, origin, destination) which returns a boolean. The rule passed in would be the...
... Yes. There are a few Sieve examples done TDD out there, and it works out quite nicely. In general mathematical algorithms are quite "nested". Things aren't...
I think there is definitely categories of algorithms that are near impossible to TDD into place unless you know them beforehand. This is because the way you...
that's not really developing a sieve type algorithm its implementing the algorithm ... From: Ron Jeffries [mailto:ronjeffries@...] Sent: Wednesday, 4 June...