MHN
Add a comment on Hacker News →
1 of 506 comments
  1. Zig structs are "modules" in themselves, apart from c like struct fields , they can have local variables, structs and functions declared and used inside of them .

    in fact files in zig are just structs !