November 7th, 2007

More Lisp crap from DDJ

Here's another ancient article about Lisp, Implementing Bicubic Splines from Doctor Dobb's Journal. I got excited because I like splines. However, while the idea of republishing old Lisp articles online has merit, this one doesn't offer a lot of insight for the modern world. For example:

You could write a Lisp routine to calculate the points along the curve, but such a routine would be very slow. In any case, you would still need to access a physical line-drawing function in order to connect the points into a curve. The faster and better way to handle this calculation is to call the C routine, _Spline, which is found in Listing One.