DEV Community

Discussion on: Top 5 languages to explore in 2022

Collapse
 
mucorolle profile image
Muco Rolle Tresor • Edited

Hey Karan, I've considered to learn Go in many times but many think it is not goint to be productive on the web as Jascript(Nodejs) or PHP.

I'm a big fan of opinionated frameworks like Laravel or AdonisJS, do you think that someone coming from Nodejs will find Go productive especially building web systems ?

Collapse
 
karanpratapsingh profile image
Karan Pratap Singh

While I agree that Go is not for frontend web, and no where near what JS or PHP do for frontend web, it is amazing and much better for backend web services imo, it is more opinionated than JS/TS, strongly typed, easy to read and I find it very productive. It also has very strong concurrency support.

But at the end of the day every technology has it's pros and cons. I think someone from nodejs/typescript world will really like Go. For example, I recently switched from TS to Go for backend stuff but TS/JS still irreplaceable on frontend.

Collapse
 
mucorolle profile image
Muco Rolle Tresor

Thanks for your response,

Yeah I was mainly talking about Go on the backend what tools would you recommend for building a REST API in Go

Thread Thread
 
karanpratapsingh profile image
Karan Pratap Singh

You can try something like this go.dev/doc/tutorial/web-service-gin which uses Go + Gin framework