Lisp and Web Developmentwhy not why? Friedrich Dominicus responseAn essay about whyGary King write in his blog
Here's my take on it. I feel I am qualified enough to comment on it. IMHO it boils down to "Simplicity matters". What are you talking aboutNow even if I get flamed on it. The most Lisp libraries I know of are "application-developer" unfriendly. Without doubt very clever people have written very clever software in Common Lisp, but they either wrote it for some other very clever people or people willing to spend at least half a year to get into it. In every other language I know libraries are written to be used by others. They are probably not as elegant and clumsy but one can understand them. It's not a problem for me to sit down get the next C library and use it. There may be some problems, but after at least a month of work one got it. Most of the time it's much easier. Examples for C libraries one simply can use:
I could go on with other libraries, hell one even can get the MSDN stuff and apply a lot of it. And this API is not that strict but at least quite strict in it. The Lisp downsideTry one of the following packages:
and you feel you are in "no-where" land. The APIs are not for simply use them, you have to spend half of your life get into them. The obviously are useful and can be used by quite a few. One can not stress that enough. few people can do something in it, few can work with it, few can contribute to it. Those who can find them obviously easy enough, but most don't and so this stuff is used by let's say a few hundreds. Here some citations from mails I received for a few packages: (names omitted) I do not use it, because I do not understand it It's complex and probably not what you really ants.... I do not like anything in that area, so if I had to get into it I would write my stuff alone.... Of course there are counter example but even in the outstanding package of Edi Weitz you have to write:
whereas I wrote in Ruby e.g
Yes, you are right, Edis syntax principally the "cleaner" one. The stuff has to be stored somewhere, either in some globals or as in Edis package as return parameter, but how much do you have to remember? Another example: My way to "web-programming". I do had have to touch PHP code and this code wasn't convinving. But one could understand it in a few days, and even change that and get to some end in a manageble time span. It has took me more then 2 months to get somewhere with UCW. Yes you can call me dumb, if you feel so, just strange that this dumb person manages it to get into rails in 3 days. Or: I tried to get into clim for ages, I even paid for a migration of the Present/Accept stuff into the web surrounding. But without the authors help I did not manage to find out why some output was messed up, this has not happened to me in either Rails or OpenACS. Try to get into clim with the given tutorials, good luck. On the other hand me dumb person manges it to write a gui-application with CAPI in acceptable time. So why?Because people can use other solutions. (FriedrichDominicus) last updated 3 years ago # |