Yahoo! Groups Tips
Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.
|
|
Re: [TDD] The first test - Hardest part about TDD?
Hello, John. On Thursday, May 22, 2008, at 3:40:43 AM, you wrote:
> I've struggled with a number of examples with "presenters". Mostly
> in cases where I imposed the MVP pattern before I started. It
> seems to fight against the various TDD maxims such as "do the
> simplest thing" and "YAGNI". At the moment, I'm building up
> another example which, at first glance, is a clear case of MVP.
> But I've started at the GUI end of things. So my first test was
> something like: ...
If the point of the project was to build a viewer, I might start
with the GUI. Otherwise I always start with the model.
I'd never impose a pattern in advance even if somehow I rightly knew
where I must end up. Well, I would do it for fun or as a
demonstration, but not in normal operation.
Furthermore, I'm not troubled by beginning a bit under the skin, but
try always to implement a piece of the interface that the skin will
use.
Ron Jeffries
www.XProgramming.com
In programming, do, or undo. There is always try. --Yoda
|
Thu May 22, 2008 11:18 am
Ron Jeffries <ronjeffries@...>
ronaldejeffries
Offline Send Email
|
|
Expand Messages |
Author |
Sort by Date
|
|
|
Peter Bell
freshstartsw
|
May 22, 2008 9:58 am |
|
|
Peter Bell
freshstartsw
|
May 22, 2008 11:27 am |
|
|
George Dinwiddie
gdinwiddie
|
May 22, 2008 2:40 pm |
|
|
Donaldson, John (GEO)
geo_johnfr
|
May 22, 2008 11:49 am |
|
|
John Roth
jhrothjr
|
May 22, 2008 1:58 pm |
|
|
J. B. Rainsberger
nails762
|
May 27, 2008 2:51 pm |
|
|
Ron Jeffries
ronaldejeffries
|
May 22, 2008 1:59 pm |
|
|
Peter Bell
freshstartsw
|
May 22, 2008 2:31 pm |
|
|
Ron Jeffries
ronaldejeffries
|
May 22, 2008 5:51 pm |
|
|
Sriram Gopalan
mgsram
|
May 22, 2008 6:39 pm |
|
|
Ron Jeffries
ronaldejeffries
|
May 22, 2008 8:05 pm |
|
|
Andreas Krügersen
wyverex42
|
May 22, 2008 9:01 pm |
|
|
George Dinwiddie
gdinwiddie
|
May 22, 2008 11:12 pm |
|
|
Andreas Krügersen
wyverex42
|
May 23, 2008 4:19 pm |
|
|
Ron Jeffries
ronaldejeffries
|
May 23, 2008 4:38 pm |
|
|
Andreas Krügersen
wyverex42
|
May 23, 2008 4:58 pm |
|
|
Ron Jeffries
ronaldejeffries
|
May 23, 2008 5:34 pm |
|
|
J. B. Rainsberger
nails762
|
May 27, 2008 2:54 pm |
|
|
John Roth
jhrothjr
|
May 27, 2008 6:22 pm |
|
|
Matt
maswaffer
|
May 27, 2008 7:15 pm |
|
|
Olof Bjarnason
olof.bjarnason@...
|
May 27, 2008 7:26 pm |
|
|
Jeff Langr
jlangr
|
May 27, 2008 8:38 pm |
|
|
Gary Brown
gb70840
|
May 27, 2008 8:59 pm |
|
|
Jeff Langr
jlangr
|
May 27, 2008 9:03 pm |
|
|
Casey Charlton
caseycharlton69
|
May 27, 2008 9:21 pm |
|
|
Sriram Gopalan
mgsram
|
May 27, 2008 9:30 pm |
|
|
Sriram Gopalan
mgsram
|
May 27, 2008 9:45 pm |
|
|
William Wake
wwake2
|
May 27, 2008 9:50 pm |
|
|
Jeff Langr
jlangr
|
May 27, 2008 10:10 pm |
|
|