2 ms·
Additional info, they predate Java, having made an appearance in CLU, Modula-3 and C++, before Java was invented. I miss them in other languages every time I
by pjmlp 2y ago
Additional info, they predate Java, having made an appearance in CLU, Modula-3 and C++, before Java was invented.
I miss them in other languages every time I need to track down an unhandled exception in a production server.
- Tempest1981 2y ago>> People bitch about checked exceptions > they predate Java, having made an appearance in CLU, Modula-3 and C++ Checked exceptions in C++? Can you force/require the call chain to catch an exception in C++? At compile time?
- pjmlp 2y agoThat was part of the idea behind them yes, as many things in WG21 design process, reality worked out differently, and they are no longer part of ISO C++ since C++17. Although some want to reuse the syntax for value type exceptions, if that proposal ever moves forward, which seems unlikely.