This post originated from an RSS feed registered with Agile Buzz
by James Robertson.
Original Post: Revenge of the Error
Feed Title: Travis Griggs - Blog
Feed URL: http://www.cincomsmalltalk.com/rssBlog/travis-rss.xml
Feed Description: This TAG Line is Extra
How do you leave yourself memorandums for the future in your code? Often I put something like 'Get rid of this' out (out is a helper method for Transcript nextPutAll: self; cr; endEntry). In a spot where it's OK for the code to continue its existance, as long as it constantly litters my transcript with a reminder that it is on deathrow, this is OK.
A moment ago, I had a chuckle. I have this back burner code I've been working on. I was getting ready to fire up an as of yet unexplored part of the code since a major overhaul. And up pops up this error dialog: 'This code is evil. Pure evil. Fix this code!' I had totally forgotten it.
I had written it before I had downloaded for permanent and periodic viewing the masterful parody Episode III: A Lost Hope. I guess from now on, I'll use something like
self error: 'Yer code is just pure dagnasty evil!'