On Thu, 2009-06-18 at 09:39 -0700, Howard Lewis Ship wrote: > I've been doing a number of presentations on Clojure lately > (TheServerSide, Portland Code Camp, Open Source Bridge), and I'm > getting some interest in Clojure and functional programming. > > A question that keeps coming up is: where would you use Clojure and/or > functional?
We are developing http://pagesms.com, a chat/im widget which can be embedded on web pages. The whole backend (comet server using Java NIO, HTTP/JSON/Bayeux processing, and business logic (users, channels, etc.) is implemented in Clojure. In total this means roughly 4000 lines of Clojure code. Because this is a side project, we can't spend nearly as much time with it as we would like, but using Clojure in this setting is a joy. It is easy to abstract things, easy to express things and very dynamic. I would recommend Clojure for concurrency oriented tasks (surprise, surprise), parsers, protocol implementations, event based programming etc. Actually, Clojure always worked well for me regardless of the problem domain. Of course being hosted on the JVM wouldn't make it an ideal systems programming language, but it was never meant to be one. So it really is a general purpose language. The product itself is still early alpha quality. The service is not always up, has not been seriously tested and many planned features are not implemented yet. Btw. the frontend is done with Tapestry :), the widget itself is implemented in Javascript. Cheers, Toralf --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---
