DEV Community

Discussion on: Top 5 languages to explore in 2022

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