Re:Goodbye to the C++ Implementation of Zig
by booleandilemma on Thursday December 08, 2022 @06:13PM
(#33915101)
I like Go as a language in the abstract sense, but the experience of writing Go code is so tedious to me. Refusing to compile if there's an unused variable or unused import is too harsh - at least give me the option to make these things warnings.
[ Parent
| on HN ]
Re:Goodbye to the C++ Implementation of Zig
by sidlls on Thursday December 08, 2022 @07:27PM
(#33915833)
Having unused variables or unused imports makes the code dirty and should be treated as errors. It's one of the (few) good things about Go.
Re:Goodbye to the C++ Implementation of Zig
by IlliOnato on Friday December 09, 2022 @07:05AM
(#33920370)
In production code? Absolutely. While you experiment, write throw-away code, debug? Hell no!