News for hackers. Stuff that matters.
Re:Is C# Underhyped? by emorning3 on Friday December 08, 2023 @01:25PM (#38572347)
Y'know what, I just took a look and I think I would like Rust-style error handling.

It reminded me about one thing that I dislike about exception handing in C#, that methods don't have to declare the exceptions that they throw, unlike Java.

And the thing I disliked about the Java way was declaring exceptions that would be panics in Rust.

I also like that ? Rust operator for propagating errors.

I've done some Erlang and I definitely like Erlang monitors.

Maybe the Rust way combined with monitors would be the ultimate in error handling :-)

There are no comments on this comment yet.