Hacker News new | ask | show | jobs
by codewright 4793 days ago
Clojure, I used to do Python with Django or Flask.

HTML/CSS aren't optional so I don't know why you included that in the list.

I've tried Node.js, hated it.

1 comments

could you describe your experience switching from python to clojure in web dev?
More powerful language (primitives, concision, macros), more performance (JVM fun-ness).

Some aspects of the JVM (slow-start) are icky but the tooling works around it (in-runtime auto-reload without restarting the JVM).

I'm a grumpy old CL'er so I was waiting for something like Clojure to come along anyway.

tx, but I meant the toolset and ecosystem, not the language features. popular frameworks, libs, out of the box solutions, opensource community, etc. - is clojure rich in this matter?
It's not as good as Python yet but rapidly getting better.

There's an excellent SQL abstraction library (Korma), Ring makes for a nice WSGI equivalent, Compojure and Clabango combined give you a Flask'ish experience, and there are a goodly number of Forms and validation libraries.

Some like to use CLJS on the frontend. There are libraries out there for making that nice.

I usually use vanilla jQuery or Angular on the frontend, no CLJS.

You need get more specific with your queries, I'm not going to write a novel at the merest hint.

tx. I was curious how it'd look like to replicate an example full stack of a Python project and you basically covered it. I remeber looking around some time ago and then Noir looked like the go to framework for Clojure, but now it seems discontinued. gotta try CL some day.
CL is Common Lisp.

The go-to for Clojure is Luminus, which is less of a framework and more of a "web best practices" project template.