Re:Java 26 is here, and with it a solid foundation for the f...
by wbl on Wednesday March 18, 2026 @02:50PM
(#47429817)
Why exactly do you have complex error analysis happening above a component that has the error? That's anti modular.
[ Parent
| on HN ]
Re:Java 26 is here, and with it a solid foundation for the f...
by gf000 on Wednesday March 18, 2026 @08:12PM
(#47433038)
Because almost my definition you can't handle errors in the component, otherwise you would have a conditional and not an error.
E.g. if I do some IO like "make a copy of these files" and get an error/exception, it's only the caller or maybe even that caller's caller that can properly deal with this condition (e.g. to decide that we will skip the erroneous files or retry).