LiamTheBox@lemmy.world to Greentext@sh.itjust.works · 5 months agoAnon tries programming in Javalemmy.worldimagemessage-square5fedilinkarrow-up10
arrow-up10imageAnon tries programming in Javalemmy.worldLiamTheBox@lemmy.world to Greentext@sh.itjust.works · 5 months agomessage-square5fedilink
minus-squareIlovethebomb@lemm.eelinkfedilinkarrow-up0·5 months agoCan anyone who’s actually dealt with Java tell me how much Anon is exaggerating?
minus-squareblue lion@sh.itjust.workslinkfedilinkEnglisharrow-up0·5 months ago 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)
minus-squareBlue_Morpho@lemmy.worldlinkfedilinkarrow-up0·5 months ago 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.
minus-squareLysergid@lemmy.mllinkfedilinkarrow-up0·5 months agoI guess naming it NullReferenceException will revolutionize industry
minus-squareBlue_Morpho@lemmy.worldlinkfedilinkarrow-up0·5 months agoHaving 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.
Can anyone who’s actually dealt with Java tell me how much Anon is exaggerating?
The rest is more or less spot on (no idea about concurrency issues though)
Of course it was the developer’s fault. But it’s absurd a language without pointers throws an error about pointers.
I guess naming it NullReferenceException will revolutionize industry
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.