r/java • • Apr 20 '21

Java is criminally underhyped

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

295 comments sorted by

View all comments

-22

u/[deleted] Apr 20 '21

Java simply feels good to write.

It doesn't feel that good when you try to read.

14

u/lessthanoptimal Apr 20 '21

What language do you think is the easiest to read, as it scales into very large projects? Python I think is great for small projects. C++ is about the same as Java, unless satan was in charge of the coding standards and decided everything must be auto and all classes must be templated.

-13

u/kag0 Apr 20 '21

Scala. All of the concise syntax of Python but with even greater type safety than Java.

9

u/hold-the-pants Apr 20 '21 edited Apr 20 '21

Except when some Scala devs get all algebraic with it, and treating it like a math equation. But that isn’t the language inherently, just wanted to say. The syntax is insanely expressive

2

u/kag0 Apr 20 '21

Yeah that's my experience as well. Bad code (whether vanilla bad or turning the logic into a category theory proof) is still hard to read. But Scala gives you the opportunity to make very nice, readable code. It just can't force you to take the opportunity.

→ More replies (1)

4

u/[deleted] Apr 20 '21

Scala is a nightmare to read if you’re not the one who wrote it. And don’t get me started on implicits

2

u/Vidogost Apr 20 '21

Kotlin can actually be a more readable version of java. At least for me, Scala has seemed more complicated syntactically.

→ More replies (1)
→ More replies (1)
→ More replies (5)

9

u/[deleted] Apr 20 '21

Exactly because of its verbosity I’ve yet to encounter any language which is MORE readable then java regardless of who wrote the code

1

u/[deleted] Apr 20 '21

a Lisp

→ More replies (7)
→ More replies (1)
→ More replies (2)