Comment

Comment by jedisct1

Go refuses variables that are declared and not used as well.

And honestly, I like the fact that it forces the source code to not include bloat. Lines of code that are there, but don't do anything, and can be misleading.

And in Zig, the language server can be configured to automatically add and remove `_ = variable;` statements, so this is frictionless.

parent jedisct1 1 year ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton