Build.zig and old linux joke

zig init isn’t hiding anything, it generates a starting point of source code that contains everything explicitly, you are meant to edit the source code afterwards, it doesn’t need to give you control over what is created because that would be just a another “multiple ways to do things”, you already have a code editor for editing use it and edit it.

If you want a different starting point, then fork Liza: Zig codebase initializer and add your own variant.

I think having to type zig init and then editing some source code is definitely not really a problem.

This seems like turning a personal pet peeve into a giant mountain.

3 Likes