Re:Zig, the Small Language
by alpaca128 on Thursday September 08, 2022 @04:53AM
(#32763039)
This method is more a hack to confuse the compiler than a clean solution, and now this unused variable could stay in the code forever because the compiler won't ever mention it again.
Using `_ = var` to prevent the error is just as bad as handling Java exceptions with empty catch blocks.
Using `_ = var` to prevent the error is just as bad as handling Java exceptions with empty catch blocks.