2009/7/1 James Grenning <james.grenning@...>:
> When doing TDD in embedded it is best to run the fast TDD cycle off-
> target to get rapid feedback, and have unit tests run in target on-
> demand or at check-in. I've got some papers and blogs on the topic if
> you are interested.
>
... A friend of mine once told me about having tests that downloaded the test and unit under test to the target and retrieved the result. In his case I think...
James Ladd shot me a link to this in twitter the other day, and I think it is a great new way of seeing and explaining 'Tell, Don't Ask.' The gist of it is...
wow. that was very interesting! after our talk during NDC, I think this is the same kind of "hint" you were looking for in the testability space. perhaps this...
While reading throught the article I was wondering, if jdepend could be extended to provide east, west, north, south compass directions for my java packages....
Markus, I guess it depends on what it looks for. I think it would be very easy to compute the ratio of void to non-void methods, but actually computing that...
The style of coding used in the examples also brings the sequential code into a form that can be more easily made concurrent. I'm a fan of pipelining some...
Rick, I like the style also, but I also like the functional style which is all "ask, ask, ask." I find it tough to pick between them sometimes. Michael ... --...
... Yes this is an interesting observation; while east oriented code makes you want to hide state, functional languages asks you to be very explicit about your...
Olof Bjarnason
olof.bjarnason@...
Jul 6, 2009 5:48 am
... "lego-like" is an awesome analogy! I'm going to steal that ;-)...
It's awhile since I used Haskell seriously, in which I was happy writing in an ask style (and sometimes lazily, which can be very handy). But I also used a lot...
Thanks for posting the link Michael, very nice article that describes a concept I've known but never really thought about. I do quite a bit of east flowing...
Hi Michael, Looks interesting, but I wonder what consistent usage would do to a code base. In the account example, wouldn't Account's interface grow huge and...
Kim, It really depends on what we say that the style is, really. "Tell, Don't Ask" as a general statement is true about many codebases, but most have their...
Hi Michael, Nice observation about the correlation between east-west (tell-ask) and north-south (upper layers-lower layers), I haven't seen it myself, but I...
... Perhaps Demeter's Helpful Suggestion? ... Hmm, our application domain, CAD, is all about entities (geometric objects) and values. In this field, following...
Hi Alan, ... It's not the law so much as the reference to a Greek goddess I have trouble with. I can't see anything here to help me with software design: ...
... I wonder also. I find that I get a lot out of trying (in my spare time) to design things in radically different ways, even inappropriate ways. You learn...
Alan, To where does your data flow? This questions answer can help with orienting code East/Right. I have written a compiler using an East approach and while...
Looks like an interesting metaphor, and certainly worth considering, but I'd apply it with caution. For example, suppose I want to display the balance in a...
On Sun, Jul 5, 2009 at 2:19 PM, Michael ... I vote for that. ;-) ... Most of the "mainstream" languages (e.g. Java, C#, C++, etc.) don't use this style in most...
Hi Adam, ... Interesting perspective. I don't think that interfaces have a natural reading of either tell or ask. I enjoy TDDing with JMock2 in which I define...
... I admit you might have to squint a little to see it that way. I see the interface as "asking" because the purpose of the interface is to inform me about...
Hi All, I'm very glad that there is a discussion around this topic as I think Tell-Don't-Ask / East/ Right is a very important design principle, and a key to...
Interesting post, James. Raises lots of questions. ... Me, too often. I try to minimize this by forcing my code to operate at the single object level. How...
... You are right when you assume the 'studentsWithSingleParents()' is a private method that returns an anonymous inner class that get called with each student...
Hi All, Very long time lurker, first time poster here, so please, be gentle :) James, Could you please elaborate on these points explaining *why* and how this...