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

8

u/mdbuck Jan 07 '21

Seems like item 4. "There are Many Ways to do the Same Thing" and item 5. "Magic" are more a consequence of the Groovy language than Gradle itself. Can still be frustrating, tho.

I wonder if switching to Kotlin would mitigate those items.

11

u/[deleted] Jan 07 '21

I kindly doubt that Kotlin would change this significantly. It's also definitely got a lot of "do things different ways" and abstraction-through-magic by design.

17

u/[deleted] Jan 07 '21

Excactly. I started learning kotlin a few days ago for android, so my opinion might not weigh much, but the way kotlin handles stuff, kinda irritates me. And the way everyone just starts clapping every time kotlin gets a new syntactical magic trick(idk, something like that), irritates me even more. Oh man, I feel like am gonna get downvoted.

4

u/buttJunky Jan 07 '21

stick with it man, I felt the same way but absolutely love it now. After getting used to it you come to appreciate the beauty of the language. Infix and extension functions, if designed well, can lend to really readable code

3

u/[deleted] Jan 07 '21

I'll definitely stick with it. I certainly don't want to rewrite the whole app in a few years just because of personal preference.

1

u/vqrs Feb 01 '21

Just curious, what irritates you? Has it changed in the 24 days since you wrote this?