zig.guide
zig.guide copied to clipboard
Chapter 1: Explicitly mention automatic self-passing in structs as an additional special feature of them.
This will be familiar to folks from Python or Rust, but coming from an implicit-this language like C++ this mysterious "self" parameter might be confusing. Better to explain the magic behind the curtain, which isn't actually all that magic.