LiamTheBox@lemmy.world to Greentext@sh.itjust.works · 4 months agoAnon tries programming in Javalemmy.worldimagemessage-square222fedilinkarrow-up1865arrow-down133
arrow-up1832arrow-down1imageAnon tries programming in Javalemmy.worldLiamTheBox@lemmy.world to Greentext@sh.itjust.works · 4 months agomessage-square222fedilink
minus-squareblue lion@sh.itjust.workslinkfedilinkEnglisharrow-up48arrow-down5·4 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-up31arrow-down4·4 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-up18arrow-down2·4 months agoI guess naming it NullReferenceException will revolutionize industry
minus-squareBlue_Morpho@lemmy.worldlinkfedilinkarrow-up10arrow-down2·4 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.
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.