this post was submitted on 13 Nov 2024
835 points (96.1% liked)

Greentext

4430 readers
1003 users here now

This is a place to share greentexts and witness the confounding life of Anon. If you're new to the Greentext community, think of it as a sort of zoo with Anon as the main attraction.

Be warned:

If you find yourself getting angry (or god forbid, agreeing) with something Anon has said, you might be doing it wrong.

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Ilovethebomb@lemm.ee 75 points 1 week ago (60 children)

Can anyone who's actually dealt with Java tell me how much Anon is exaggerating?

[–] bluelion@sh.itjust.works 45 points 1 week ago (5 children)
  • a hello world doesn't need libraries in Java
  • installing JDK takes at most 5 steps, depending on the OS
  • a nullpointerexception is more likely the developper's fault (unassigned value, calling a function on a null object)
  • IntelliJ is easy to install and modern (granted, other IDEs are very ancient)
  • developping GUI apps is a PITA, no matter the ecosystem (generally)

The rest is more or less spot on (no idea about concurrency issues though)

[–] Blue_Morpho@lemmy.world 28 points 1 week ago (2 children)

nullpointerexception is more likely the developper's fault

Of course it was the developer's fault. But it's absurd a language without pointers throws an error about pointers.

[–] Lysergid@lemmy.ml 17 points 1 week ago (1 children)

I guess naming it NullReferenceException will revolutionize industry

[–] Blue_Morpho@lemmy.world 7 points 1 week ago

Having error messages that match the language is actually helpful. A reference and a pointer aren't exactly the same.

Like if Rust output "invalid word size" on a type mismatch.

load more comments (2 replies)
load more comments (56 replies)