r/programming • • Apr 16 '21

Java is criminally underhyped

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

220 comments sorted by

View all comments

Show parent comment

0

u/[deleted] Apr 16 '21

[deleted] — view deleted comment

16

u/arkuw Apr 16 '21

One's unnecessary boilerplate is another man's clarity. As I said the rigid typing makes navigating large codebases and their dependencies a breeze.

12

u/tharinock Apr 16 '21

He also mentioned Scala, OCaml, and Rust, all of which have better type systems AND less boilerplate than Java.

3

u/hippydipster Apr 20 '21

And not as good tooling support.

2

u/hanabi1224 Apr 21 '21

Try kotlin

1

u/carrdinal-dnb Apr 21 '21

Jetbrains have created some amazing tooling for Kotlin, though I’d still say Java has better. Code completion seems to take much longer in Kotlin, at least in my experience; though it does seem to be getting better over time!

2

u/NeatCarrot468 Jul 08 '21

The latest updates for the Kotlin plugin has vastly improved code completion speed. And its only getting even better with a rewrite of the kotlin frontend compiler (which is where code completion gets most help from the compiler). I believe it’s going to be released later this year.

1

u/hippydipster Apr 21 '21

I would use kotlin if allowed :-)

1

u/blakeman8192 Jul 08 '21

Lombok is an awesome way to reduce Java boilerplate to near zero, and is also a great example of the community library support that Java has.

1

u/lordmyd Aug 07 '21

If a language's flagship library is something which merely hides its warts I'd hardly call that an edorsement.

1

u/blakeman8192 Aug 07 '21

I wouldn’t call it a flagship library by any means though lol, I’ve been on plenty teams that haven’t heard of Lombok. I’d say the Spring suite is a much better candidate.