Things that annoy me about Go
Maybe this just happens with all programming languages?
Go was my first real programming language. Maybe I should have started with something else, because Go is really annoying sometimes. But there are probably annoying things about every programming language.
^
is used as a bitwise XOR operator, not to indicate exponentiation. It's 2023. In what world am I going to have to use bitwise XOR?? Be for real.- You can
import math
, but if you don't use it, the program throws an error. Maybe that's for performance reasons, but am I really going to care about the 0.009 seconds I save by not importing math? The same thing happens with variables! Who cares if I don't use the variable like right now?? If I made it, I'm gonna use it eventually. - If I'm missing an end parenthesis/bracket, the error messages are NOT helpful.
Aside from those minor annoyances Go is great. I like its extremely strong types, use of curly brackets, and overall performance.