Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Clojure is my favorite JVM language, too (alongside Kotlin), but I think Groovy can fill a different role even if your go-to language is Clojure. Groovy is great for writing non-lispy DSLs; one of those is Gradle, that's quickly becoming the de-facto standard JVM build tool, slowly but surely replacing Maven. Also, I think Clojure is better for "serious" projects, while Groovy is better for throwaway scripts (not that you can't do serious projects in Groovy or "non-serious" ones in Clojure).


> Groovy can fill a different role even if your go-to language is Clojure. Groovy is great for writing non-lispy DSLs

You can just stick the required syntax atop Clojure, using parsers and macro forms. For an example, see my https://github.com/gavingroovygrover/grojure




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: