Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Go is good fun in a lot of ways
elcore30232yWhy do you have a love/hate relationship?
Have fun coding in Go (it is an awesome language)
jchw12082yIt'll be just "love" soon enough. Pull through! It is the most rewarding programming language I've learned in years. Is it perfect? No. But it stands to be one of the most frustration free and robust languages in its class.
jchw12082y@vortex I would definitely recommend tuning your text editor.
Recommendation: Install goreturns.
Why: automatically reformats your code, removing unused imports and resolving imports you need. You can write 'io.Copy' and it will add "io" to your imports. Hard to live without!
`go get github.com/sqs/goreturns`
Most editors pick it up automatically.
Recommendation: Install gometalinter.
Why: It will improve your warning messages, helping you avoid writing buggy code or make mistakes.
`go get github.com/alecthomas/gometalinter`
Sublime: install SublimeLinter and SublimeLinter gometalinter. Make sure you have your $GOPATH/bin in your $PATH first.
VS Code: should work automatically after reloading.
Atom: should work automatically after reloading.
Vim: I think this is supported by default.
Recommendation: consider VS Code :)
Why: it works great with the Go plugin with no configuration.
Hope any of these help.
Your Job Suck?
Take a quick quiz from Triplebyte to skip the job search hassles and jump to final interviews at hot tech firms
Get a Better Job