Re:Where Everything Went Wrong: Error Handling and Error Mes...
by ymbeld on Friday February 19, 2021 @12:30PM
(#26195494)
It took Java until Java SE 14 (last year) to produce NPE stacktraces which actually tell you which variable was null. At least in Rust third parties could have created a library to remedy a similar situation.
[ Parent
| on HN ]
Re:Where Everything Went Wrong: Error Handling and Error Mes...
by jdmichal on Friday February 19, 2021 @02:14PM
(#26196780)
For whatever reason, it look a long time for parameters and locals to have a name in addition to a slot and a type in the JVM bytecode. Before that data was introduced, it was an impossible task. Also why things like de-/serialization frameworks required annotations on parameters duplicating the parameter name.