Closures open new avenues
Tue Feb 18 21:17:46 GMT 2003 Permalink
Lisp really is a fascinating language. When I read Paul Graham talking about Arc and CLOS thus:
I personally have never needed object-oriented abstractions. Common Lisp has an enormously powerful object system and I've never used it once. I've done a lot of things (e.g. making hash tables full of closures) that would have required object-oriented techniques to do in wimpier languages, but I have never had to use CLOS.
At first I was inclined to dismiss it, after all lots of people denigrate OOP or say they don't need it. However already I can kind of see what he means.
I'm just running through tutorials at the moment, messing with functions and closures and messing with lists of functions and lists of data and... Well, lets just say it's opening some new pathways.
I still like Java, I'm still happy to code in Java, but I'm definitely enjoying Lisp and wonder about where it might take me.

