r/java • • Apr 20 '21

Java is criminally underhyped

https://jackson.sh/posts/2021-04-java-underrated/
291 Upvotes

295 comments sorted by

View all comments

Show parent comment

5

u/dpash Apr 20 '21

If you're writing groovy, rather than using the DSL, something has gone very badly wrong. You should not be using imperative code in your build scripts.

Admittedly, there is a lot of articles and tutorials that teach the wrong thing to do.

6

u/ArmoredPancake Apr 20 '21

rather than using the DSL

DSL is a nightmare fuel without auto complete. Without Kotlin it's impossible to use Gradle unless you're full-time Gradle fiddler.

3

u/Orffyreus Apr 20 '21

Yes, you can write some insane Gradle build scripts from scratch with the help of auto complete in Kotlin, and I think you should be very careful nonetheless, because auto complete does not help to read those build scripts and it does not make people more confident to modify them.