The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Stuck in the past?

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
Stuck in the past? Posted: Apr 28, 2004 8:25 PM
Reply to this message Reply

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

Interesting justification for log4J over on the manual site for log4J - an old quote from Kernighan and Pike related to C level debugging:

As personal choice, we tend not to use debuggers beyond getting a stack trace or the value of a variable or two. One reason is that it is easy to get lost in details of complicated data structures and control flow; we find stepping through a program less productive than thinking harder and adding output statements and self-checking code at critical places. Clicking over statements takes longer than scanning the output of judiciously-placed displays. It takes less time to decide where to put print statements than to single-step to the critical section of code, even assuming we know where that is. More important, debugging statements stay with the program; debugging sessions are transient.

Now, logging is useful - I still do that with remote Smalltalk servers that have no UI from time to time. However, this makes it sound like logging is still preferred to debugging. Admittedly, the home site for a logging tool is going to be biased, but still... to my mind, logging is a poor substitute for using a debugger. Of course, a Smalltalk debuggeris actually a code browser with the context stack riding along, so YMMV - if your tools are primitive, maybe logging looks better...

Read: Stuck in the past?

Topic: How not to motivate your staff Previous Topic   Next Topic Topic: Dvorak - dumber than you thought

Sponsored Links



Google
  Web Artima.com   

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