4 ms·
Why are you comparing a framework to a language? Can I not write a Spring Boot app in Clojure?
by eweise 7y ago
Why are you comparing a framework to a language? Can I not write a Spring Boot app in Clojure?
- regularfry 7y agoIn this case, I think it's meaningful. If you take https://github.com/scotthaleen/clojure-spring-cloud https://github.com/scotthaleen/clojure-spring-cloud as a reasonable example of what that would look like, it's (subjectively) ugly as sin. Because you're operating outside idiomatic clojure, there's a lot of incidental complexity and "why would you do it that way?" moments that you wouldn't get with any of the clojure-native, idiomatic web libraries. Yes, you could wrap a lot of it behind more idiomatic facades, but that's still added work you just don't want to have to do.
- eweise 7y agoTo be a fair comparison you either need to compare java to clojure or spring boot to whatever the comparable libraries would be in clojure.
- nickbauman 7y agoClojure doesn't really have frameworks, though. Every once in a while a framework-like-thing emerges but it quickly decomposes into a few libraries. The level of composition tends to be functions not objects, so there aren't any "taxonomy traps" associated with monolithic things in the OO world.