Hacker News new | ask | show | jobs
by rgrmrts 1046 days 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/

[1]:https://github.com/ziglang/zig/tree/master/lib/std

1 comments

That'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.
Since 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.