News for hackers. Stuff that matters.
Re:Rails Testing with Factory Girl by chrislaco on Wednesday August 22, 2012 @04:45PM (#4419486)
There's a saying in nursing: "If it's wet, dry it. It it's dry, wet it."

I think we need the same thing in programming.

If it's slow, make it faster. If it's unreadable, make it readable. If it's coupled, decouple it.

Then just stop worrying if we fall into official definitions of unit, integration, collaborator, mock, stub, double, etc. I swear we spend more time as an industry arguing about that stuff than actually writing code, myself included.

There are no comments on this comment yet.