3 ms·
I thought exceptions were considered harmful in current year. (Opinions may differ.) Also the abstract class thing didn't stop C++, lol
by andai 3y ago
I thought exceptions were considered harmful in current year. (Opinions may differ.)
Also the abstract class thing didn't stop C++, lol
- abricq 3y agoI'm curious if you have some references about this, if you have read good blog posts or something ! I can think of Rust that does not have exception, but it's not because they didn't address the problem of error handling: exception are replaced by `Result`, if I'm not wrong. In Oberon there's simply no error handling mechanism.
- eterps 3y agoThere's nothing preventing you to use a Result type in Oberon. Just not as a fancy algebraic data type, but rather as a regular record/struct type.