Under the covers
I like refactoring. It gives a person the warm, fuzzy feeling he's accomplished something, without actually having had to do some hard creative thinking. And it can lead to nice results -- if most of the work remains under the covers. I've just spent three days refactoring Krita's painting code. We used to have a big class, KisPainter, which had a different method for each kind of painting: brush, pencil, airbrush, erasing and some very cool things Cyrille Berger is doing, with painting with filters (something that, as far as I know, is only done by Photogenics. But KisPainter was getting too big for XEmacs to comfortably fontify, and that's always a warning sign. So I started refactoring...