3 ms·
I would genuinely love to hear your specific complaints about Go's syntax.
by LambdaComplex 1y ago
I would genuinely love to hear your specific complaints about Go's syntax.
- dada216 1y agoanal_reactor started with "once I read on 4chan". that's all you should need to know to skip this entirely
- anal_reactor 1y agoMy first problem is "where the fuck is this function defined" and then "what is this type actually". Answering these two questions for random line in random code is surprisingly difficult.
- majewsky 1y ago> what is this type actually Do you mean that you don't know what type a certain variable has? If so, just add `theVariableName = false` and try to compile it (or just `go vet ./path/to/folder` from the repo root) and the error message will tell you the type. Same as with every other strongly typed language.
- alain_gilbert 1y agoOr if he was to use any kind of decent text editor, he could also just place his mouse over the variable and see the type it has. Then comes the hard part "where is it defined"... he could even press "command" and then click on it.