Me
About
Gallery
Company
Girl


Projects
Ruby on Rails
Basecamp
Highrise
Backpack
Campfire
Ta-da List
Writeboard


More
Feed
Archives

March 11, 17:42

Being able to execute on insights

Dion discovers the pleasure of removing code. This is also by far the most enjoyable aspect of programming for me. When I'm able to remove code, it means that my understanding of the domain has deepened. Some times it's just picking up another Ruby insight that turns three template lines into one succinct expression. That's satisfying in the "getting closer to my tool" kind of way.

But more interesting is it when the domain model reveals itself. When once fuzzy associations and unsure delegations become crystalized abstractions. I've had this experience a good handful of times with both Rails and Basecamp. When it clicks and you spot the missing class or the deeper pattern, there's a unique burst of energy released. The light bulb that goes off.

And this is where I think test-driven development has been most rewarding. It gives you the courage to execute on the deeper understanding. To radically simplify through swift cuts and add missing bridges.

The few times where I haven't had the comforting confidence of a good test suite when discovering an insight have been some of the most frustration ever. The gold is right there, yours for the taking, but you dare not grasp for it in fear of what hidden traps you'll uncover. It's horrible.

Especially because the mind is now set on the gold. The regular joy of working with the rest of the code base drops below zero when you know that an executable insight is available.

So, like, do your tests, 'mkay?


Challenge by Dion Almaer on March 11, 17:52

Yes, thanks to the flushed out tests that we have, I was able to rip the engine to threads, yet know that it was running nicely again when I put in the new one :)

If it wasn't for that.... I would be crossing my fingers ;)

Btw, I like your comments on the domain. You are spot on there IMO. The reason that I did this refactoring was due to a big 'a ha' moment that the team had on the domain!

Cheers,

Dion

Challenge by Paul Smith on March 11, 23:50

While unit tests are fairly obviously applied to things projects like frameworks, it may be less obvious how one does test-driven development in a web application environment. Adoption of TDD could be sped up among Railers if there were some clear examples out there (unfortunately, the demo apps with open source that are pointed to usually don't have the tests fleshed out). It may also be helpful to indicate that in a web app, it's more likely that you'll be doing _functional_ tests, and since most folks associate unit testing with TDD, that could be a source of confusion.

So, more examples, please, and especially of functional tests.

Challenge by Rudi Cilibrasi on March 13, 9:22

I agree 100% with all of the comments above. I also really appreciate your taking the time to clearly articulate exactly what the difference with TDD is, because it just isn't obvious to most people till you hear it. I think this sort of explanation really does a lot to bring people in and I hope we see more of these single-issue process focus type articles.

Challenge by abay on May 09, 21:33

Hi. This is my links.
Sex creampies Gallery creampie pics Mature black babes nasty creampies cunt spreads Creampie eating stories Creampie pussy cunt Creampie cock in pussy Free creampies pics Hairy internal creampie pussy Free and creampie and panty and pics Galleries free creampie movies Creampie vaginal cum shot Unsuspecting teen creampies Free thumbnails of creampie women Free and creampie and panty and pics Amateur creampie pictures Creampie eating stories Hairy internal creampie pussy Creampie internal, cumshots Pussy creampie avi Creampie stories Gallery creampie pics Creampie internal, cumshots Creampie eating stories Creampie internal, cumshots Creampie eating stories Porn movies creampie frei tgp Creampie hardcore sex pictures Free creampies pics Eating anal creampies Mature mature plump fat hardcore pics creampie nasty fetish Gallery pictures creampie Sex advice creampie Cheat creampie stories Amateur creampie pictures Free creampies pics Hairy internal creampie pussy Hairy internal creampie pussy Mature black babes nasty creampies cunt spreads Grannies pussy creampies Grannies pussy creampies Porn movies creampie frei tgp Amateur creampie pictures Creampie cock in pussy Creampie internal, cumshots Amateur creampie pictures Mature black babes nasty creampies cunt spreads Anal creampie movie free Gallery creampie pics Cheat creampie stories Gallery pictures creampie Unsuspecting teen creampies Eating anal creampies Creampie hardcore sex pictures Creampie internal, cumshots Free and creampie and panty and pics Internal cum shot creampie video Creampie pussy cunt Unsuspecting teen creampies Free and creampie and panty and pics Grannies pussy creampies Sex creampies Gallery creampie pics Creampie gangbang pregnant cum load inside Sex advice creampie Free creampies pics Sex creampies Creampie video free Creampie pussy cunt Internal cum shot creampie video Gallery pictures creampie

Challenge by atmor on June 04, 12:20

Sorry for my links
mature bitches lyrics to older country songs classic mature older s3xy women mature amature older women and younger men south indian mature women mature spunker south indian mature women mature spunker older s3xy women mature gallerys free thumbnail pictures of older women mature amature mature nudists photos south indian mature women mature women stories mature nudists photos mature nud3 pics mature nudists photos mature amature mature ladies in lingerie mature anal free naked older women mature bitches free thumbnail pictures of older women older s3xy women nud3 senior women mature bitches lyrics to older country songs mature bitches mature video mature anal classic mature older women and younger men mature women stories free thumbnail pictures of older women mature bitches mature women stories mature anal

Challenge by nata on June 04, 20:03

Hello. I am new here. It is very interesting.
creampie video clips creampie eating stories teen anal creampies creampie ass free anal creampie movies free creampie pics free wife oral creampies wife oral creampies free creampie video hairy creampie creampie video clips free creampie pics free creampie pussies mature creampies ass creampie creampie t9p teen anal creampies xyx creampies creampie ass cum creampie ass creampie japanese creampie links free creampie thumbnails creampie video clips free creampie thumbnails creampies free creampie t9p xyx creampies creampie eating stories creampie ass xyx creampies cum creampie teen anal creampies creampie t9p japanese creampie links creampie video store hairy creampie cum creampie hairy creampie free anal creampie movies

Challenge by jon on June 05, 5:27

Hi. This is my links.
pantyhose mpeg nylon stocking galleries nylon galleries pantyhose mpeg pantyhose crossed legs men who wear pantyhose pantyhose mpeg girl panty pics pantyhose crossed legs russian pantyhose women boys in pantyhose pantyhose and nylon feet and toes girls in fishnet stockings girls in fishnet stockings russian pantyhose women feet in nylon men pantyhose girls in body stockings free panty thumbnail gallery pantyhose chat men who wear pantyhose men who wear pantyhose men who wear pantyhose free pantyhose thumbs girls in fishnet stockings pantyhose mpeg cum on panties girl panty pics cum on panties men pantyhose nylon stocking galleries russian pantyhose women pantyhose chat boys in pantyhose men pantyhose men pantyhose feet in nylon pictures of crossed nylon legs cum on panties girls in body stockings

Challenge by mary on June 05, 17:26

Hi. This is my links.
mature women nud3 free mature s3x mature amateur mature women t9p mature babes mature 1esbians mature amateur older thumbs dating mature women mature men galleries older men younger women mature amateur mature asian mature men galleries free older women free mature s3x mature 1esbians older women younger men mature over 50 mature women in stockings mature babes mature women in stockings mature women t9p free mature mature wives mature amateur mature amateur mature women in stockings free mature p0Rn mature over 50 mature wives mature babes mature over 50 mature women nud3 free mature older men younger women older thumbs mature nud3 women free mature p0Rn older thumbs

Challenge by nik on June 08, 0:07

Hello. I am new here. It is very interesting.
pantyhose images panty post cheerleader panty pics panty thumbnails celebrities in pantyhose panty fetish hooters girls in pantyhose girls in nylons panty post men's pantyhose free teen panties hooters girls in pantyhose mature ladies in pantyhose panty thumbnails free wet panty winnie-cooper pantyhose white pantyhose pantyhose images winnie-cooper pantyhose office girls in nylons free wet panty panty post free teen panties mature ladies in pantyhose panty fetish panty fetish winnie-cooper pantyhose satin panty galleries satin panty galleries free wet panty girls in nylons cheerleader panty pics panty thumbnails panty post wet pantyhose men's pantyhose men's pantyhose celebrities in pantyhose free teen panties panty thumbnails

Challenge by mikle on June 08, 4:13

Hi. This is my links.
pantyhose fetish wolford pantyhose little school girls panties pantyhose foot gallery free pantyhose sites mature women in nylons silkies pantyhose pantyhose pic gallery pantyhose men pantyhose foot gallery little school girls panties free panty galleries teen panty pictures shiny pantyhose bra and panty pics shiny pantyhose teen panty pictures free panties free pantyhose sites pantyhose pic gallery pantyhose fetish silkies pantyhose mature women in nylons pantyhose men free panties crotchless pantyhose men in panty pics bra and panty pics free pantyhose pics wolford pantyhose silkies pantyhose wolford pantyhose free panty galleries teen panty pictures shiny pantyhose panty line pics pantyhose foot gallery free pantyhose sites pantyhose foot gallery silkies pantyhose