News for hackers. Stuff that matters.
Re:Rust vs. Go in 2023 by erik_seaberg on Sunday August 13, 2023 @05:57AM (#37108361)
That's when automated error handling began to be widely supported in early versions of mainstream languages: C++ (1985), Perl (1987), Python (1991), Java (1995). As time passes, I think it's healthy for us to expect new languages to learn from history and launch with more complete feature sets.
Re:Rust vs. Go in 2023 by memefrog on Sunday August 13, 2023 @07:55AM (#37109049)
'Automated error handling' is a misfeature in a language where correctness matters. Perl and Python can use exceptions and there it makes sense. It makes no sense for a language without garbage collection and frankly the only system where it actually works well is Common Lisp, which has restarts. Without restarts, exceptions are just error codes but with spooky action at a distance.
Re:Rust vs. Go in 2023 by kaba0 on Sunday August 13, 2023 @08:48AM (#37109479)
What does having/not-having a GC have to do with correctness?