opening it up with Common Lisp

Favorite weblogs

Lisp Related

Bill Clementson

Finding Lisp

Lemonodor

Lispmeister.com

Planet Lisp

Politics

Orcinus

Talking Points Memo

This Modern World

Working for Change

Other home

Polliblog

Recent Readings

Book review: Darwinia
Reviewed: Friday, August 11, 2006

Summer reading: Spin
Reviewed: Saturday, August 5, 2006

Runner
Reviewed: Tuesday, July 18, 2006

the Omnivoire's Delimma
Reviewed: Wednesday, July 12, 2006

the Golem's Eye
Reviewed: Wednesday, May 31, 2006





tinderbox
 width=

Ignoring errors
Wednesday, February 8, 2006

Sometimes it's nice to be able to ignore-errors but it can be a tricky business when you forget that that is what you're doing! I just spent the last hour tracking down what appeared to be a bizarre bug. A function I was called kept aborting out early and returning nil? To compound the problem, i was doing some error handling within the function and its callers so I kept spelunking around in the wrong place. Finally, I managed the isolate the problem by splitting the errant function into littler and littler pieces until it had to succumb.

The real problem: I had an around method that was wrapping an ignore-errors around the call-next-method. I'm sure it had been a good idea once upon a time (though it's more likely that it was just expedient). Sigh.


|

Home | About | Quotes | Recent | Archives

Copyright -- Gary Warren King, 2004 - 2006