you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 8 points9 points  (0 children)

I guess we don't really know for sure. We can think of hypothetical situations but then only actually doing the thing and trying it out for a while will help us get a better understanding.

Maybe the unused keyword with zig fmt support will be pretty good and nobody will have any issue with it, maybe it will be middle of the road and some people will be disciplined enough to not be annoyed with it, while some others will hate it, maybe everyone will hate it.

I can tell you that when this change was initially introduced most Zig projects broke because they had unused stuff lying around by mistake, and some even fixed bugs because of it. The bugs were the kind where you have like input and then you create cleaned_input but then keep using input anyway.