3 ms·
I’ve been using the language reference [0] and also just browsing the standard library source code [1] for examples. [0]:https://ziglang.org/documentation/0.11
by rgrmrts 3y ago
I’ve been using the language reference [0] and also just browsing the standard library source code [1] for examples.
[0]:https://ziglang.org/documentation/0.11.0/ https://ziglang.org/documentation/0.11.0/
[1]:https://github.com/ziglang/zig/tree/master/lib/std https://github.com/ziglang/zig/tree/master/lib/std
- flohofwoe 3y agoThat's important: don't be afraid to look into the stdlib source code when questions arise. It's easy to read and stuff is easy to find, and it's also a great teacher.
- bsaul 3y agoSince go, this has been a really great way for me to judge a langage: how readable is the stdlib ? If it's layer upon layer of unscrutable abstractions, then you know there's a high chance your codebase will end up looking the same after a few years.