The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Jailing the component

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
Jailing the component Posted: Apr 17, 2005 1:36 PM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: Jailing the component
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

Michael analogizes debugging to a murder mystery:

Here's some advice from me. Whether you choose to apply it to debugging a coding problem, or just understanding general behaviour that a program is exhibiting, try doing the follow:
Assume the entire issue is like a murder mystery. First you need to establish a motive. You also need a means and you need opportunity.
When debugging, it is easy to guess at some components motive and jump straight to their guilt. For the ultra intuitive, this can often work out really well. But for everyone else, it leaves them stumped as to what went wrong when jailing the component does not stop the crime from repeating.

My summary: Don't guess. In my experience, developers (myself included) are notoriously bad at figuring out where problems lie - this is especially true when the subject is "why is it slow?" Walk through the code with a debugger, or - in the case of a performance issue - use the profiler.

Read: Jailing the component

Topic: Oh, for some competition Previous Topic   Next Topic Topic: This sort of thing is why

Sponsored Links



Google
  Web Artima.com   

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