flame3244

joined 2 years ago
[–] flame3244@lemmy.world 7 points 2 years ago

I think this is a good thing. The styles are just opinions anyway and forcing everyone to just follow a single style takes a lot of bikeshedding away, which I really like.

[–] flame3244@lemmy.world 1 points 2 years ago

Honestly, it does not happen often that I have a ln unused variable that I want to keep. In my mind it is the same thing when wanting to call a function that does not exists. Also my editor is highlighting error Long before I try to compile, so this is fine too for me.

[–] flame3244@lemmy.world 27 points 2 years ago (3 children)

Yes it is a hard error and Go does not compile then. You can do _ = foobar to fake variable usage. I think this is okay for testing purposes.

[–] flame3244@lemmy.world 2 points 2 years ago (1 children)