News for hackers. Stuff that matters.
Re:Go 1.19 Beta 1 is released by lenkite on Saturday June 11, 2022 @04:26AM (#31702879)
> 2) No try/catch. Inexcusable in my opinion.

You won't like Rust either then. Though its just a matter of time till Rust gets try-catch too. It's slowly moving towards that step by step. Folks have already made crates https://docs.rs/try-catch/latest/try_catch/

Re:Go 1.19 Beta 1 is released by tragomaskhalos on Saturday June 11, 2022 @05:08AM (#31703066)
That crate seems to desugar to regular Rust style error handling, ie with Result<>s and ? operators. But I would imagine strong community push-back against any movement towards genuine stack unwind style exception handling in Rust beyond the current panic handling mechanism.
Re:Go 1.19 Beta 1 is released by Thorentis on Saturday June 11, 2022 @04:29AM (#31702896)
I haven't tried Rust out yet, but the syntax doesn't look appealing. However from what I've seen of the stdlib, it seems to make up for it. If Go had a better stdlib I could probably forgive some syntax problems. But having large gaps in both is very frustrating.
Re:Go 1.19 Beta 1 is released by kaba0 on Saturday June 11, 2022 @07:25AM (#31703681)
It is at least excusable in case of a low-level language meant in part for embedded/kernel development, etc.