News for hackers. Stuff that matters.
Re:Ziglings: Learn the Zig programming language by fixing ti... by anand-bala on Saturday February 13, 2021 @09:26PM (#26129121)
You have a valid point, but if the only formatting issue you will have is tabs, then running `zig fmt` on your codebase is pretty much a non-issue.

If your project is small, just run `zig fmt` on the command line.

If you have a large codebase, you can just incorporate it into your build process (similar to how clang-format and clang-tidy are used in CMake projects).

But again, if you have a large codebase written in Zig, you've probably already configured your editor to run `zig fmt` on save :)

Re:Ziglings: Learn the Zig programming language by fixing ti... by littlestymaar on Sunday February 14, 2021 @01:04AM (#26130072)
> But again, if you have a large codebase written in Zig,

At this point it means you're probably Andrew himself because the Zig compiler is the only large Zig codebase out there;)

Re:Ziglings: Learn the Zig programming language by fixing ti... by jorangreef on Sunday February 14, 2021 @02:15AM (#26130343)