This was a really nice intro to creating a web server with Clojure. However, I couldn't get the project to work with the deps.edn setup. I did get it working with Leiningen though, just had to get the correct dependency syntax for the project.clj file. I'd like to learn to use clojure without a tool like Leiningen to better understand how it works under the hood. Are there any tutorials for how to run clojure in the most barebones way possible for better understanding?
Thanks for this video. I'm mostly confused by the amount of middleware, which is added to a reitit setup. Maybe you can add a example on this topic too.
It's the same as `(var handler)`, it returns the "var" object, rather than what's in the var (a function). This way if you redefine "handler" that change will automatically be picked up by the server.
Are you just trolling or making a sincere argument? The JVM is one of the most advanced VMs in existence, and has one of the most well developed ecosystems. What's not to like?
2 года назад
@Yassin Zao Maybe true, maybe not, but in this video, it's not evident any of those JVM related issues mentioned.
@Yassin Zao Typical Java development involves a significant amount of boilerplate, but that has nothing to do with the JVM, and is not something you notice when doing Clojure.