8
Sukhi
8y

Who here codes in golang and thinks it's a good server side language.

Comments
  • 1
    I like the golang.
    Would definitely use it in production but i dont like the dependency management of go.
  • 4
    @treeroot Something I don't like about golang is that it throws an error if you have a unused variable or lib
  • 1
    @Sukhi there is some flag to ignore those errors. I forgot.
  • 3
    @jAsE and when you add css module on server side it's way faster.
  • 1
    Any comments @jckimble ?
  • 0
    @Sukhi why would you want unused variables or libraries in your code? If you need them temporarily you can still use "_" for name of variable or before library import.
  • 2
    @jpichardo I'm still learning it myself but since I was called.

    @Sukhi personally I think golang is a good general language to learn since the only thing it's not good at is gui. if you're going to use golang for a website make sure you use a good http mux and not the default one, I'd recommend looking at the gorilla packages they cover a good bit of what you would need. also the range of premade packages is really nice, I have a project right now that I wouldn't be this far on if I didn't use golang. the first is my personal site where golang is cloning a private github repo, creating a docker image, and running it for 24 hours for a live preview.
Add Comment