3 ms·
Java is not the only language that has checked exceptions. C++ has them too, for example, but thanks god virtually nobody uses them in C++.
by crabbone 3y ago
Java is not the only language that has checked exceptions. C++ has them too, for example, but thanks god virtually nobody uses them in C++.
- nemetroid 3y agoChecked exceptions (i.e. "dynamic exception specification") were deprecated in C++11 and removed in C++17.
- gpderetta 3y agoC++ never had checked exceptions. It had dynamic exception specifications but they were a very different (and useless) thing as they were runtime checked not statically. I wish C++ had checked exceptions.