News for hackers. Stuff that matters.
Re:I am not yet ready to switch to Zig from Rust by Capricorn2481 on Friday June 14, 2024 @05:09PM (#40685158)
I have heard this anecdote a few times but I don't understand it. Even ignoring error handling in Go, I feel like everything is noticeably more verbose and noisy than something like Python. A language that prioritizes readability is intriguing to me, but I just haven't experienced that with Go.

Not that I haven't seen messy Python code (I sure have). The best Go code is gonna look better than the worst Python. But on average, it seems like complicated flows can be written very elegantly and readably in Python and look ugly in Go.

Re:I am not yet ready to switch to Zig from Rust by etse on Saturday June 15, 2024 @04:44PM (#40692570)
Go isn't pretty to look at, but I feel so much more confident in a successful Go build than starting up Python–not knowing when exceptions will throw or crash until it's run is frustrating.

I'm sure Rust folks feel exponentially more safety than Go at compile time, but the jump from Python to Go is dramatic for me.