Jean-Paul Boodhoo - TDD and Dependency Interjection
- Jean-Paul Boodhoo is an awesome presenter and I'm very much
looking forward to this presentation, having seen his previous one at
EDMUG.
- Developers who give TDD an "honest shot" (e.g. with a coach) rarely ever want to go back to old-school development.
-
Igloo Coder's foot seems a little too close to my foot.
- Don't write useless tests! When you start, you'll write bad tests but after experience you'll get better.
- Is he trying to play footsie with me or something?
- Small intro into Model-View-Presenter.
- Presenter knows nothing about System.Web
-
Joey's Ahi Tuna Salad is *amazing*. But it is definitely hitting me hard right now!!
- This, thus far is looking a little similar to the previous presentation we saw in Edmonton.
- Even if Igloo's foot is itchy, I don't think scratching it on my leg is going to help it all that much.
- "Who uses Nunit here?" = almost everybody
- "Who uses RhinoMocks here?" = almost no one
- I'm not kidding - you *need* to go to Joey's and have their Ahi Tuna Salad!
- I see
SlickRun on JP's desktop! Nice!
- JP's mastery of the menu and the keyboard shortcuts is
phenomenal. He seems like he can work 20x faster than the average
dev simply by keystrokes alone.
- Igloo Coder seems to be resting his right hand on my knee. I'd
remind him I'm happily (and firmly heterosexually) married but I don't
want to interrupt JP's presentation.
- When you create an object, you should be able to use it right away;
should not be creating an object that then requires 20 setters called
after the constructors.
- INterfaces & abstracts vs. concrete implementations
- coding to interfaces frees from concrete
- can work on higher level layers without worrying about lower level dependencies
- concrete lower level classes introduce fragility into the code
- JP is not showing rich domain today.
- JP is using the Gateway pattern! (Only reason I note the
Gateway design pattern is that it was one of the first Design Patterns
I've learned after the patterns in the Gang of Four's book)
- When you're doing TDD and first writing a function, don't bother
testing if you know the test will fail (i.e. if there's a
NotImplementedException being thrown, no need to run the unit tests to
know that they will fail).
- WHen using mock objects, you almost eliminate the need for assertions; either behavior will be as expected or it won't.
- "I can't remember the last time in 3 years when I actually used a debugger" - JP Boodhoo
- "My shirt is chafing me." - Igloo Coder
- "I can write a failing test for a defect faster than I can roll throw and debug it." - JP, again
- "This presentation is like sex in my mouth" - Steven Rockarts
- "Sex in my mouth is
*my quote*" - Igloo Coder
- Isolate the things that change from the things that don't when coding.
- MY BRAIN IS ON
FIRE
- Seriously, every time I watch JP I think everything I know about
development is wrong. Too funny - definitely an awesome guy
to watch and learn from.
- JP runs out of time - again. I love watching this guy but he's
totally got to figure out how to get these things into 1.5 hrs!!
- Spring.NET: interesting! apparently a .NET implementation of the Java
libraries. It seems like every presentation has actually talked
about a cool tool that needs further investigation.
- Singleton patterns are not as evil as people think - however, they are evil in the method that many developers use them.
- Whew. I'm glad that's over - I don't think I could take another MSN from Igloo saying how much he loves my hair!!
*AWKWARD*!
Overall:
Holy *cow*. This was almost a conscious-altering experience much
like the first presentation JP did. Yike. My brain is still
screaming for mercy. But a good kind of screaming for mercy, like
when you just can't eat another bite of Joey's mouthwatering ahi tuna
salad, and not the *weird*, awkward and uncomfortable kind of screaming
for mercy like when you're getting beaten up by a street gang dressed
up in
Mike Friesen's "leather man" outfit.
Summary in poetry:
This is great, it blew my mind
Though JP constantly runs out of time
I like TDD, not interjection depends
But IglooCoder, I just want to be friends
Fin