LiamTheBox@lemmy.world to Greentext@sh.itjust.works · 9 个月前Anon tries programming in Javalemmy.worldimagemessage-square221fedilinkarrow-up1867arrow-down133
arrow-up1834arrow-down1imageAnon tries programming in Javalemmy.worldLiamTheBox@lemmy.world to Greentext@sh.itjust.works · 9 个月前message-square221fedilink
minus-squareblue lion@sh.itjust.workslinkfedilinkEnglisharrow-up48arrow-down5·9 个月前 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-down5·9 个月前 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·9 个月前I guess naming it NullReferenceException will revolutionize industry
minus-squareBlue_Morpho@lemmy.worldlinkfedilinkarrow-up10arrow-down3·9 个月前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.
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.