2 ms·
I absolutely hate that you can't have unused variables in Go, or that you can't have unreachable code in Go or Java. It makes the already tiresome work of debug
by mort96 9y ago
I absolutely hate that you can't have unused variables in Go, or that you can't have unreachable code in Go or Java. It makes the already tiresome work of debugging significantly more frustrating.
- cratermoon 9y agoWhy? What's useful about unused variables or unreachable code?
- mort96 9y agoIt's not useful in shipped code, and absolutely should be a warning, but it's incredibly useful while creating the program or debugging.