this post was submitted on 13 Aug 2024
34 points (97.2% liked)

Golang

27 readers
1 users here now

This is a community dedicated to the go programming language.

Useful Links:

Rules:

founded 1 year ago
MODERATORS
 

Always choose the right tool for the job? Nah. I use Go basically everywhere, which either makes me insightful or stupid. Decide for yourself! :D

top 7 comments
sorted by: hot top controversial new old
[–] [email protected] 10 points 1 month ago (1 children)

In a professional setting, sometimes the cost of developing something more performant in C is not worth it. The velocity unlocked by creating systems in Go is just incredible, after your company has built everything in C[++] for decades. I find myself creating gRPC APIs in Go to solve most design challenges, because it's stupid fast to develop and is fairly maintainable after.

[–] [email protected] 1 points 4 weeks ago

@iluminae
We get a lot of inquiries at my company as to why Go was chosen as our future in micro services and the answer is simply the power and efficiency I can build quickly using this language.
@pnutzh4x0r @golang

[–] [email protected] 3 points 4 weeks ago (1 children)

Not sure how you can avoid javascript other than with htmx I guess

[–] [email protected] 1 points 4 weeks ago

Doesn't WASM dodge a lot of it?

[–] [email protected] 2 points 4 weeks ago

Not my first choice, but better Go than JavaScript or Python for that purpose.

[–] [email protected] 2 points 4 weeks ago

I learned C++ in my first handful of programming classes. The only other languages I learned for other classes included javascript, PHP, and MySQL. I was assigned a project to be written in Java but never learned the details of the language.

At my current job, the system I work on mostly is all Go, and while I now know Go interfaces are not as novel as I did when I first learned they existed (because I had to learn Go), the mechanisms in Go for interfaces and goroutines just feel so cool to me that I can absolutely envision myself wanting to build anything well-suited for OOP in Go.

But that would require me to be passionate enough about programming to want to do it more than 40 hours per week lol

[–] [email protected] 1 points 4 weeks ago

I agree with everything in the article, which makes it all the more unfortunate that I really detest Go as a language.

(It's getting better, though.)