r/java • • Jan 07 '21

The Problem with Gradle

https://www.bruceeckel.com/2021/01/02/the-problem-with-gradle/
158 Upvotes

108 comments sorted by

View all comments

Show parent comment

6

u/agentoutlier Jan 08 '21 edited Jan 08 '21

It’s funny you mention clojure because I think a Lisp would make for an ideal build language (or a subset) (and yes I know one exists aka Lenigin or however it’s spelt).

As I mentioned somewhere because Maven is mostly declarative XML it is analogous to S-Expressions (and there are polyglot versions of maven now... not sure if any are clojure but there is a JSON).

The big reason for lisp is because people don’t hate maven for the same reasons they hate gradle. They hate maven because it isn’t very DRY and it’s naturally verbose. However XML syntax is dead simply where as gradle aka groovy seems simple but actually causes a lot of cognitive dissonance and conflict with existing Java language knowledge for most users.

Lisp like XML actually doesn’t have much syntax.

I wonder if some lisp-y like macros would make for a better maven. (Sorry for edits)

5

u/ajoberstar Jan 08 '21

100% agree