Wednesday, May 07, 2003

Graham Glass calls Lisp "the most underappreciated comupter language", but goes on to say "LISP was an incredible work of art. so simple and so reflexive. but an absolutely crap syntax that doomed it." I don't follow this. It seems to me that the syntax looks like crap because it's so simple and reflexive. It's still really difficult for me to read the do construct, for example; I think that the "result-form" throws me - it's like having a finally block on a for loop in a C-ish language. But the real power is that everything's so reflexive, and that's the whole point of macros: you write code that gets run, but its output is more code that gets run. That's real code generation as far as I'm concerned. Lisp gives you a fairly natural syntax for generating code. The problem I have learning Lisp is partially not being used to the syntax, but also just getting your head around concepts like macros, and I don't think that you could do something like Lisp macros without the uniform syntax. Maybe once I've learned more about dynamic languages I'll see how you could build an equally powerful language using some more familiar syntax (to programmers with a C/Java background, at least), but right now I think it's a tradeoff that you have to make.
3:56:00 PM  permalink Click here to send an email to the editor of this weblog. 


Stories
DateTitle
1/23/2003 Why XML?
8/13/2002 Resolution for IE and Windows problems
8/10/2002 Supporting VS.NET and NAnt
5/11/2002 When do you stop unit testing?
Contact
jabber: weakliem
YM: gweakliem
MSN: gweakliem@pcisys.net
email: Click here to send an email to the editor of this weblog.
Subscribe to "Gordon Weakliem's Weblog" in Radio UserLand.
Click to see the XML version of this web page.