Re:Developing and Deploying a Simple Clojure Web Application
by ataggart on Sunday July 25, 2010 @05:37AM
(#1545268)
What point are you trying to make? That one can write less code if one does less stuff?
[ Parent
| on HN ]
Re:Developing and Deploying a Simple Clojure Web Application
by Jach on Sunday July 25, 2010 @06:57PM
(#1546557)
The parent asked for a link to something that takes less effort, I obliged. I don't think the amount of code is a particularly useful metric in most cases, but I would argue that the PHP+HTML solution is much clearer and easier to deploy, and taking into account everything you wish about such a simple web page (readability, maintainability, cross-server, security, etc.), takes less effort in the end. (I don't have any big issues with jetty or tomcat, since I use one or the other almost daily.) I'm sure there are larger use cases where clojure is simpler than raw PHP, but that's why PHP has frameworks.