News for hackers. Stuff that matters.
Re:Juice – Oberon JIT browser plugin (1996) by andai on Friday February 02, 2024 @07:08AM (#39227718)
I thought exceptions were considered harmful in current year. (Opinions may differ.)

Also the abstract class thing didn't stop C++, lol

Re:Juice – Oberon JIT browser plugin (1996) by abricq on Friday February 02, 2024 @07:19AM (#39227774)
I'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.
Re:Juice – Oberon JIT browser plugin (1996) by eterps on Friday February 02, 2024 @07:27AM (#39227838)
There'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.