Click here to Skip to main content
15,913,669 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: 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 
There does not exist a developer who can just be 'careful' and never make a mistake. You need some way of catching mistakes early so they don't become a problem. In non-software environments this is usually peer review, e.g. if a builder is building a house he'll get his mate to check it over to make sure he hasn't done something stupid, as well as terminal testing (making sure the item does the right thing when it's finished). We do have processes that are analogues of this (peer review, pair programming) but they're time intensive so they rarely get applied to every part of a product. It makes a lot more sense to have the computer doing that checking, because it can do it fast, cheaply and much more often.

Mat Fergusson wrote:
I mean, it worked ok in the punch-card days

Well, no, it didn't, old software had lots of bugs in. Also, modern systems are massively more complex than those 20 years ago and so they won't fit in people's heads any more, they're worked on by larger teams and in more different use cases.

The real benefit of testable development (I'm not going to say TDD because that has implications about test-first and agile and so on that I don't really mean here) is that it lets you change things with confidence later. Customers always change their mind about what they want, so you will always have to change stuff, and if it isn't tested, you are likely to break something and not know about it.

Mat Fergusson wrote:
But what about the bits that aren't/can't be tested?

Everything can be tested. Some things can only be tested manually, but that should still be recorded and the tests done. Obviously, you want to reduce the number of those as far as possible. Some UI interactions can only be tested manually, although there are frameworks which can help with it, but everything else should be testable with automated tests (unit, integration or system). If it isn't, you're probably not designing your software in a modular enough way.
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 
GeneralRe: Great moment for AI! PinPopular
Pete O'Hanlon9-Jun-14 10:17
mvePete O'Hanlon9-Jun-14 10:17 
GeneralRe: Great moment for AI! Pin
Kenneth Haugland9-Jun-14 10:22
mvaKenneth Haugland9-Jun-14 10:22 
GeneralRe: Great moment for AI! Pin
Kornfeld Eliyahu Peter9-Jun-14 10:25
professionalKornfeld Eliyahu Peter9-Jun-14 10:25 
GeneralRe: Great moment for AI! Pin
Pete O'Hanlon9-Jun-14 10:31
mvePete O'Hanlon9-Jun-14 10:31 
GeneralRe: Great moment for AI! Pin
Kornfeld Eliyahu Peter9-Jun-14 10:37
professionalKornfeld Eliyahu Peter9-Jun-14 10:37 
GeneralRe: Great moment for AI! Pin
Mike Hankey9-Jun-14 10:31
mveMike Hankey9-Jun-14 10:31 
GeneralRe: Great moment for AI! Pin
Kornfeld Eliyahu Peter9-Jun-14 10:35
professionalKornfeld Eliyahu Peter9-Jun-14 10:35 
GeneralRe: Great moment for AI! Pin
Mike Hankey9-Jun-14 10:37
mveMike Hankey9-Jun-14 10:37 
GeneralRe: Great moment for AI! Pin
Joe Woodbury9-Jun-14 13:37
professionalJoe Woodbury9-Jun-14 13:37 
GeneralRe: Great moment for AI! Pin
User 592419-Jun-14 15:56
User 592419-Jun-14 15:56 
JokeRe: Great moment for AI! Pin
ZurdoDev9-Jun-14 17:15
professionalZurdoDev9-Jun-14 17:15 
GeneralRe: Great moment for AI! Pin
User 592419-Jun-14 17:54
User 592419-Jun-14 17:54 
GeneralRe: Great moment for AI! Pin
ridoy9-Jun-14 21:56
professionalridoy9-Jun-14 21:56 

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.