|
In most enterprise settings yes. You can make personal projects in Java fast if you don't use any of the build systems and call javac/jar directly with shell scripts, but then again, why would you ever chose Java in the first place. The reason for Java building being slow is that for whatever reason, the community that develops Java has been inundated with people who are more concerned with flexing their theoretical computer science knowledge than actually making the language spec adaptable. As such, the core language is extremely lacking in features. For this reason, people built systems on top of the language, such as build systems, dependency injection systems, testing systems, and so on. But again, for someone to dedicate time to building on top of the crap that is core Java requires a certain mindset, which lends itself to extremely bloated code, or things like making a log statement have code that can fetch code from the internet and execute it. So when you stack all of these on top of one another, thats where you get long compile times from. You have gradle build system, which is Groovy, which then gets compiled to run on the jvm, which then compiles the annotation processors which often write code to a file on a disk, which then gets included along with the rest of the code, which then gets compiled into class files and then jar files. Also, during execution, because the common guidance is to use extremely bloated and poorly organized 3d party libraries for basic things, all of these libraries have a startup time associated with it. |
Most Universities on the planet teach Java as an introductory language (which makes sense to be honest) but they stop after that.
And then students know how to quicksort in 10 different ways, but not how to MVC or even how to build a web app.
Personally I think that our education system is botched there, because most of the theoretical knowledge is only important in the "paper writing" context. Once it gets into applying that knowledge into practical use, most students are lost because their professor never taught them how.
Only the self-taught students who were bored to death in University are actually the ones capable of doing so.