If Java can be compiled into a single binary and have a package manager then I would learn it. I really want to like Java, or JVM-based languages specifically, but its extremely annoying and complicated to figure out how and why thing works.
Java is still worth learning
21–30 of 82 posts
Re: Java is still worth learning
#22If Java can be compiled into a single binary and have a package manager then I would learn it. I really want to like Java, or JVM-based languages specifically, but its extremely annoying and complicated to figure out how and why thing works.
I think you might need to look into java (or better kotlin) then. Is gradle not a package manager on top of a build system, just like npm? Is a fatjar/shadowjar not a "single binary"?
No, it isn't. `go build` is a single binary.
Re: Java is still worth learning
#23If Java can be compiled into a single binary and have a package manager then I would learn it. I really want to like Java, or JVM-based languages specifically, but its extremely annoying and complicated to figure out how and why thing works.
Java has Maven and Gradle that serve as package managers. I'd say they are not any more complex than npm, except if you need complexity to do something very specific.
Re: Java is still worth learning
#24If Java can be compiled into a single binary and have a package manager then I would learn it. I really want to like Java, or JVM-based languages specifically, but its extremely annoying and complicated to figure out how and why thing works.
I think you might need to look into java (or better kotlin) then. Is gradle not a package manager on top of a build system, just like npm? Is a fatjar/shadowjar not a "single binary"?
Seriously? This XML reminds me of the issues that I had when I first started Java, what the hell does any of these mean (yes, yes, RTFM) but then I could also just use another language and be done with it?
Re: Java is still worth learning
#25I don't know. I started my career as a Java dev, but what made me grow as a software developer was learning Scala. I learned a lot about functional programming, algebraic data types, effects, and so on. I'd say Java is a great production language, mostly because it's so simple that I don't need to "learn" it (when you know better than using madness like `==` or Serializable).
However Java has advantages too: the IDE support was miles better than Scala, build times were shorter, most frameworks were more mature and better supported and the language itself was much more stable.
Re: Java is still worth learning
#26Would prefer to use Kotlin or Clojure.
Re: Java is still worth learning
#27Earlier quoted context omitted.
I think you might need to look into java (or better kotlin) then. Is gradle not a package manager on top of a build system, just like npm? Is a fatjar/shadowjar not a "single binary"?
> Is a fatjar/shadowjar not a "single binary"? No, it isn't. `go build` is a single binary.
Re: Java is still worth learning
#28The content of this post makes some sense, however it does look like it’s written by AI and thus lacks depth, context and personal touch.
> Java has been my companion through:
> Learning object-oriented programming > Building enterprise applications > Navigating the transition to cloud computing > Exploring microservices and distributed systems > Mentoring other developers > Speaking at international conferences
Yeah this is literally what 90% of senior programmers have done regardless their favorite languages. Either AI-slop or human-slop.
Re: Java is still worth learning
#29I’ve been working as a backend developer for close to six years now, but reading this brought me right back to college. Like many others, I started with C. It taught me the basics - memory, pointers, writing data structures from scratch - but most of the time it felt like I was just trying not to break things. Solving problems became more about handling the language than understanding the logic. Then I came across Ja…
Re: Java is still worth learning
#30I don't know. I started my career as a Java dev, but what made me grow as a software developer was learning Scala. I learned a lot about functional programming, algebraic data types, effects, and so on. I'd say Java is a great production language, mostly because it's so simple that I don't need to "learn" it (when you know better than using madness like `==` or Serializable).
I went the same route and am still working as a Scala dev. However Scala adoption seems to slowly go down, unfortunately .. Which is a shame because it's a beautiful language and I love using it as FP together with Cats. However Java has advantages too: the IDE support was miles better than Scala, build times were shorter, most frameworks were more mature and better supported and the language itself was much more sta…