Search the web
Sign In
New User? Sign Up
testdrivendevelopment · Test-driven Development
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 31272 - 31301 of 32007   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
31272
... Could you post links to this list? Thanks, --Nat -- http://www.natpryce.com...
Nat Pryce
nat_pryce
Offline Send Email
Jul 1, 2009
9:59 am
31273
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...
Michael Feathers
mfeathers256
Offline Send Email
Jul 4, 2009
1:00 pm
31274
I was thinking it would be cool to work through something along the lines of http://tinyurl.com/amt96g as a community. Or at least have some newbies like me...
Andrew Wagner
wagner.andrew99
Offline Send Email
Jul 4, 2009
5:20 pm
31275
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...
Roy Osherove
royosherove
Offline Send Email
Jul 4, 2009
7:02 pm
31276
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 Gaertner
shino01051979
Offline Send Email
Jul 4, 2009
7:49 pm
31277
2009/7/4 Andrew Wagner <wagner.andrew@...> ... Me and Simone (from another mailing list) did som remote pair programming experiments earlier this year....
Olof Bjarnason
olof.bjarnason@...
Send Email
Jul 4, 2009
9:03 pm
31278
Oh interesting. I wasn't thinking of something real-time like this. I was more thinking along the lines of participation by checking into version control, with...
Andrew Wagner
wagner.andrew99
Offline Send Email
Jul 4, 2009
11:00 pm
31279
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 Mugridge
rickmugridge
Offline Send Email
Jul 5, 2009
6:10 am
31280
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 Gräsman
kimgrasman
Offline Send Email
Jul 5, 2009
7:01 am
31281
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...
uluhonolulu
Offline Send Email
Jul 5, 2009
8:49 pm
31282
... Well that's not strictly necessary... Just use dependency injection to make the Account independent of the display device: Account { void...
Olof Bjarnason
olof.bjarnason@...
Send Email
Jul 5, 2009
9:06 pm
31283
Ulu, Sometimes when people use this style, I see them make their methods prepositional. So, account.putBalance(System.out); becomes: ...
Michael Feathers
mfeathers256
Offline Send Email
Jul 5, 2009
9:20 pm
31284
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...
Adam Sroka
adamjaph
Offline Send Email
Jul 5, 2009
10:53 pm
31285
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...
Michael Feathers
mfeathers256
Offline Send Email
Jul 6, 2009
12:22 am
31286
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 ... --...
Michael Feathers
mfeathers256
Offline Send Email
Jul 6, 2009
12:24 am
31287
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...
Michael Feathers
mfeathers256
Offline Send Email
Jul 6, 2009
12:31 am
31288
... 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@...
Send Email
Jul 6, 2009
5:48 am
31289
... "lego-like" is an awesome analogy! I'm going to steal that ;-)...
Adam Sroka
adamjaph
Offline Send Email
Jul 6, 2009
6:26 am
31290
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...
Kim Gräsman
kimgrasman
Offline Send Email
Jul 6, 2009
6:27 am
31291
I've given the east-west direction of code some more thought. East-oriented code is more testable it is claimed. But why is that the case..? Is not because...
Olof Bjarnason
olof.bjarnason@...
Send Email
Jul 6, 2009
8:49 am
31292
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...
Rick Mugridge
rickmugridge
Offline Send Email
Jul 6, 2009
8:57 am
31293
... 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...
Adam Sroka
adamjaph
Offline Send Email
Jul 6, 2009
9:15 am
31294
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...
Rick Mugridge
rickmugridge
Offline Send Email
Jul 6, 2009
9:32 am
31295
Hi Olaf, I think of the difference between tell and ask with respect to testing values as being "symmetrical": o With ask, we check the resulting value of a...
Rick Mugridge
rickmugridge
Offline Send Email
Jul 6, 2009
9:48 am
31296
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...
James Carr
cloud_strife...
Offline Send Email
Jul 6, 2009
11:39 am
31297
Although my belief that pairing is the best way to learn TDD, I've been thinking about other ways to introduce people to TDD. I've never thought about remote...
Adolfo Rodrigues de S...
adolfo_sousa
Offline Send Email
Jul 6, 2009
5:11 pm
31298
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...
jamescladd
Offline Send Email
Jul 6, 2009
9:30 pm
31299
... Perhaps Demeter's Helpful Suggestion? ... Hmm, our application domain, CAD, is all about entities (geometric objects) and values. In this field, following...
Alan Baljeu
alanbaljeu
Offline Send Email
Jul 6, 2009
10:26 pm
31300
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...
Alan Baljeu
alanbaljeu
Offline Send Email
Jul 6, 2009
10:56 pm
31301
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: ...
Kim Gräsman
kimgrasman
Offline Send Email
Jul 7, 2009
4:16 am
Messages 31272 - 31301 of 32007   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help