Click here to Skip to main content
15,913,587 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Curiosity Pin
PIEBALDconsult10-Jun-14 3:03
mvePIEBALDconsult10-Jun-14 3:03 
GeneralRe: Curiosity Pin
CPallini10-Jun-14 4:53
mveCPallini10-Jun-14 4:53 
GeneralRe: Curiosity Pin
chriselst9-Jun-14 22:49
professionalchriselst9-Jun-14 22:49 
GeneralRe: Curiosity Pin
Tim Carmichael10-Jun-14 2:22
Tim Carmichael10-Jun-14 2:22 
GeneralRe: Curiosity Pin
Karen Mitchelle10-Jun-14 15:20
professionalKaren Mitchelle10-Jun-14 15:20 
GeneralRe: Curiosity Pin
hairy_hats10-Jun-14 3:55
hairy_hats10-Jun-14 3:55 
GeneralRe: Curiosity Pin
harold aptroot11-Jun-14 20:33
harold aptroot11-Jun-14 20:33 
QuestionTDD vs. just being careful Pin
Mat Fergusson9-Jun-14 11:42
Mat Fergusson9-Jun-14 11:42 
You hear a lot these days about how Test Driven Development frees you from having to sweat the small stuff and just get on with adding new features.
In its purest form the proponents seem to suggest you can avoid thinking too hard and as long as you make it pass the next test you're a real developer. More loosely I guess you don't have think too hard about regression because as long as the tests still pass then the code still does what the tests are testing for. That means you can go ahead and implement something else real quickly and know that you haven't broken anything that has a test.

But what about the bits that aren't/can't be tested? You still have to keep an eye on them and making a test for everything in the real world is hard-verging on impossible.

What is so wrong with actually thinking hard about what it is you are being asked to do, working out the best way to achieve it and then carefully implementing it properly?


Background - I've been arguing for more automated testing in our organisation for a little while and I keep on getting responses about how not using the crutch of automated testing encourages doing it right the first time.
I hate to admit it but that argument does make some sense. Right? I mean, it worked ok in the punch-card days.

So what do people out there think?
AnswerRe: TDD vs. just being careful Pin
Marc Clifton9-Jun-14 12:25
mvaMarc Clifton9-Jun-14 12:25 
GeneralRe: TDD vs. just being careful Pin
_Maxxx_9-Jun-14 14:29
professional_Maxxx_9-Jun-14 14:29 
GeneralRe: TDD vs. just being careful Pin
Marc Clifton10-Jun-14 2:53
mvaMarc Clifton10-Jun-14 2:53 
GeneralRe: TDD vs. just being careful Pin
Super Lloyd9-Jun-14 17:49
Super Lloyd9-Jun-14 17:49 
GeneralRe: TDD vs. just being careful Pin
Marc Clifton10-Jun-14 2:56
mvaMarc Clifton10-Jun-14 2:56 
GeneralRe: TDD vs. just being careful Pin
PIEBALDconsult9-Jun-14 14:24
mvePIEBALDconsult9-Jun-14 14:24 
AnswerRe: TDD vs. just being careful Pin
_Maxxx_9-Jun-14 14:27
professional_Maxxx_9-Jun-14 14:27 
GeneralRe: TDD vs. just being careful Pin
Dan Neely10-Jun-14 2:54
Dan Neely10-Jun-14 2:54 
GeneralRe: TDD vs. just being careful Pin
Mat Fergusson10-Jun-14 11:05
Mat Fergusson10-Jun-14 11:05 
GeneralRe: TDD vs. just being careful Pin
Dan Neely10-Jun-14 11:11
Dan Neely10-Jun-14 11:11 
GeneralRe: TDD vs. just being careful Pin
Mat Fergusson10-Jun-14 11:12
Mat Fergusson10-Jun-14 11:12 
AnswerRe: TDD vs. just being careful Pin
Super Lloyd9-Jun-14 16:41
Super Lloyd9-Jun-14 16:41 
AnswerRe: TDD vs. just being careful Pin
BobJanova10-Jun-14 0:15
BobJanova10-Jun-14 0:15 
AnswerRe: TDD vs. just being careful Pin
Andy Brummer10-Jun-14 0:36
sitebuilderAndy Brummer10-Jun-14 0:36 
NewsGreat moment for AI! Pin
ridoy9-Jun-14 10:04
professionalridoy9-Jun-14 10:04 
GeneralRe: Great moment for AI! Pin
Kenneth Haugland9-Jun-14 10:14
mvaKenneth Haugland9-Jun-14 10:14 
GeneralRe: Great moment for AI! Pin
PIEBALDconsult9-Jun-14 10:14
mvePIEBALDconsult9-Jun-14 10:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.