DEV Community

Discussion on: Golang, it was love at first sight.

Collapse
 
ahmadawais profile image
Ahmad Awais ⚡️

Can you share with me what is the immediate benefit of Go for a frontend dev? Where can I use it immediately? I loved it at first sight but couldn't find a thing to do with it. That has to do with small businesses.

Collapse
 
bgadrian profile image
Adrian B.G.

Immediately usage is none for a front-end dev, maybe:

  • WebAssembly if you have to write performance based front end library.
  • make your own back-end stubs/small services

But ...

I (and others) suggest to learn a new programming language each year, at least at the beginner level. 30 hours per year is a small price to pay for the advantages. It will change how you think about programming, learning new paradigms, constructs that will enlarge your horizons and make you a better developer.

Collapse
 
ahmadawais profile image
Ahmad Awais ⚡️

I do do that. I am failing to find a project to work on with Go. I don't believe in learning for the sake of learning. I learn to produce production quality software. So, that's why I asked :) I enjoyed Go a lot.

Thread Thread
 
bgadrian profile image
Adrian B.G.

What are the top 3 problems you face when building websites, what will make you to be more productive, efficient or your projects performant?

Choose a problem and build a solution, or contribute to an already made one. I'm sure that your problems are similar with other front-end devs aswell.

Collapse
 
itsdarrylnorris profile image
Darryl Norris

One project that can be considered "front-end" is Gohugo. Gohugo is a static website generator is pretty cool. However, GoHugo uses their Golang templating language, which is pretty weird(or different from other templating languages out there).

Golang can be used to create API's to build your front-end or even server-side rendering.

I am not sure if that answer your question or not.

Collapse
 
ahmadawais profile image
Ahmad Awais ⚡️

That's exactly what I tried to do. Haha. I built my last talk's slide with Go Hugo. wordsesh2018.ahmadawais.com/

Honestly, it felt a bit hard to do as compared to using Gatsby which is written in JavaScript/React.

Thread Thread
 
itsdarrylnorris profile image
Darryl Norris

I can see why making a slide using GoHugo will be painful. GoHugo seems to be targeting more plug and play website tool with possibly a lot of content creation. Compare Gatsby, which more like a framework build static website generators.