So its a build system that is making decisions, like declaring dependencies inside project java files, that gradle, maven(even ant) wisely decided were better in external files...
It sounds like the argument is jbang is a build tool that is easier to get started with than maven/gradle. You should focus on that. It seems like a stretch though considering how easy templates make things these days. Build tools are complicated because builds are complicated. A simple maven build file with no custom build options is mostly just a dependency section inside a template.
I thought the same as you 3 years ago - then a took a year off and came back and saw how complex java is in comparison to node, go, python etc. but its ecosystem is much stronger.
java has a ton of unnecessary upfront complexity.
I don't say jbang is a build tool that replaces maven/gradle - i say you should use those when the complexity justifies it. My argument is that the usecase for much simpler approach is much larger than most people think (because we all been made dependent on complexity first).
Claiming python's build/dependency managent system is simpler than other languages will not get you very far. It's notorious for the complexity in reproducing a build on a different machine. Node is also not exactly a good poster child in that retrospect(Gulp is a pita to debug and grunt grows into a mess every time, lets not even mention webpack). Go still has GOPATH issues last I checked(its been a while). These are all languages that are very easy to use UNTIL you add dependencies or do more than execute code locally.
I did not say python build/dependency is better - I said it and other programming languages are much easier to get started with. Java is complex by default.
big part of that imo is that any tutorial or doc in java requires tons of setup with respect to a build tool and an IDE. jbang reduces that to basically nothing but still allows you to grow from there from hello world to full fledged apps.
1
u/deadron Apr 21 '21
So its a build system that is making decisions, like declaring dependencies inside project java files, that gradle, maven(even ant) wisely decided were better in external files...
It sounds like the argument is jbang is a build tool that is easier to get started with than maven/gradle. You should focus on that. It seems like a stretch though considering how easy templates make things these days. Build tools are complicated because builds are complicated. A simple maven build file with no custom build options is mostly just a dependency section inside a template.