News for hackers. Stuff that matters.
Re:Zig, the Small Language by ptato on Wednesday September 07, 2022 @01:22PM (#32753447)
There's a lot of people in the community that feel this way as well but tolerate it. I think it's a certainty that whenever zig 1.0 arrives it will immediately be forked to turn the unused errors into warnings, at least for debug mode.

Another situation where I think the compiler is too eager with errors: unreachable code. A bare `@panic("")` won't compile, but you can "turn off" the error by doing `if (true) @panic("")`.

Re:Zig, the Small Language by sph on Wednesday September 07, 2022 @02:22PM (#32754227)
IIRC there's already a Zig fork that turns that abomination off. I remember seeing it mentioned in that upstream issue OP mentioned.
Re:Zig, the Small Language by LAC-Tech on Wednesday September 07, 2022 @07:23PM (#32758618)
Do you remember the name or have a link?
Re:Zig, the Small Language by strager on Wednesday September 07, 2022 @08:52PM (#32759587)