News for hackers. Stuff that matters.
Re:Zig 0.12.0 Release Notes by wild_pointer on Saturday April 20, 2024 @07:54AM (#40096659)
> Sounds like yet another case of "this should be a warning instead".

The discussion about it is indeed interesting: https://github.com/ziglang/zig/issues/224

e.g.:

> > When debugging/prototyping, it's useful to comment out a line without having to refactor, e.g. > > I think this use case is a strong argument. However, it's up against another strong use case, which is the ability to rely on a set of assumptions when reading the source of a compiling codebase. > [...] > a variable declared with var does have a modification to it

Which is an interesting property.

We'll see how it goes for them.

There are no comments on this comment yet.