Go is my hammer, and everything is a nail (www.maragu.dev)
from pnutzh4x0r@lemmy.ndlug.org to golang@programming.dev on 13 Aug 2024 13:40
https://lemmy.ndlug.org/post/973947

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

#golang

threaded - newest

iluminae@lemmy.world on 13 Aug 2024 17:15 next collapse

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.

JustBrogrammer@mastodon.social on 14 Aug 2024 21:14 collapse

@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

prma@programming.dev on 14 Aug 2024 07:05 next collapse

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

sjpwarren@programming.dev on 14 Aug 2024 23:23 next collapse

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

RarePossum@programming.dev on 16 Aug 2024 02:02 collapse

Doesn’t WASM dodge a lot of it?

BatmanAoD@programming.dev on 15 Aug 2024 12:36 next collapse

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.)

BmeBenji@lemm.ee on 15 Aug 2024 13:27 collapse

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