2 ms·
While I agree that Zig is in between Go and Rust, you're gonna find a lot of crazy stuff that will tie your brain in knots with Go. A few examples: - Json par
by dnautics 6y ago
While I agree that Zig is in between Go and Rust, you're gonna find a lot of crazy stuff that will tie your brain in knots with Go.
A few examples:
- Json parsing being special cased into the language
- multiplying a user-input integer with a time value to be a timeout
- channels and goroutines (sorry, I've been spoiled by erlang)
Aside from things that are actually bugs, I haven't found anything like this in Zig. On the contrary, I typically have found something that doesn't work how I expect, and then I think about it, and it's "of course it's like this, why isn't C like this??".