The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Affectations

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Robertson

Posts: 29924
Nickname: jarober61
Registered: Jun, 2003

David Buck, Smalltalker at large
Affectations Posted: Jun 17, 2009 5:37 AM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: Affectations
Feed Title: Cincom Smalltalk Blog - Smalltalk with Rants
Feed URL: http://www.cincomsmalltalk.com/rssBlog/rssBlogView.xml
Feed Description: James Robertson comments on Cincom Smalltalk, the Smalltalk development community, and IT trends and issues in general.
Latest Agile Buzz Posts
Latest Agile Buzz Posts by James Robertson
Latest Posts From Cincom Smalltalk Blog - Smalltalk with Rants

Advertisement

I see that the "debuggers are bad" affectation is still alive and well. Here's Bob Martin in a recent tweet:

Someone caught me breakpointing my program in the speaker's lounge. <blush> But I found my horrible concurrency bug

The debugger is a tool - nothing more, nothing less. This strange notion that you should avoid it at all costs and just use tests is like claiming that you don't really need your left arm; better to saw it off to make giving in to temptation harder.

In Smalltalk, this kind of thinking just makes no sense at all, because the debugger isn't a tool of forensic pathology - it's a surgeon's tool, ready to be used on a live patient - a debugging code browser with inspectors.

The way I often look at it is this: Why should I try to imagine what the system's state will be when it gets to some method I want to write? Isn't that something that the computer is way, way better at than I am? It will show me the state and let me ponder the actual problem, instead of forcing me to pretend I can juggle all of that, and that one more test will get me there. Right.

While the anti-debugger people are over there, desperately trying to track that nth piece of state, I'll be over here, being productive.

Technorati Tags: , ,

Read: Affectations

Topic: Product Owner Video Up Previous Topic   Next Topic Topic: The Long Surrender

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use