Post Aczlo045eN4wYP9tRI by s3thi@fantastic.earth
(DIR) More posts by s3thi@fantastic.earth
(DIR) Post #Aczlo045eN4wYP9tRI by s3thi@fantastic.earth
2023-12-18T08:56:47Z
0 likes, 0 repeats
so i was super sick last month and had too much free time, so i picked up Alex Edwards' excellent book *Let's Go* and learned me some #golang.i was put off from learning Go for so many years because of That Blog Post From Three Years Ago -- you know the one -- but turns out a lot of complaints in that blog post are just not relevant to what people do with the language.also, you can build an entire web application with Go using just the standard library and one or two third-party libraries for crypto and DB connectivity. that's very cool! you can't even do that with #nodejs.and that web app will continue to work for like 10+ years, because Go never breaks backwards compatibility. also very cool!
(DIR) Post #Aczlo11I6GQxW0rAiO by s3thi@fantastic.earth
2023-12-18T09:03:51Z
0 likes, 0 repeats
what i like most about Go is its general philosophy.it's good for a narrow set of use cases, and it doesn't care about being good at anything anything that falls outside its wheelhouse.you can use it for exactly two things: (a) building command line apps on UNIX-like systems and (b) building network services on UNIX-like systems. that's it. if you try to use it for anything outside of that, good luck.this allows it to be *very* good at those two narrow use cases. you can spin up APIs and little CLI tools with surprising ease in Go. and there's a huge ecosystem of third-party libraries designed to make building those two kinds of applications -- and ONLY those two kinds of applications -- super easy and convenient.
(DIR) Post #Aczlo23SFhl6j0sPj6 by samebchase@fantastic.earth
2023-12-20T08:33:17Z
1 likes, 0 repeats
@s3thi Go is one of the perfect languages to write at work. Straightforward, can be debugged at 3 AM. Great tooling. I had a good time with it for 5ish months. I wouldn't mind writing it again.Do I wanna explain to a manager that the thing is delayed because I am not able to figure out what the Rust compiler wants me to do?For having a bit of fun, or for general creative expression, there are other unopinionated options.
(DIR) Post #AczloCMxu1J6iQ58We by s3thi@fantastic.earth
2023-12-18T09:08:05Z
0 likes, 0 repeats
Go is a great 80% language.it's scary good at solving 80% of your problems, but it doesn't care about the remaining 20%. if you have a Go-shaped problem in your life, you'll have a blast solving it with Go. if you don't, then you will have a rough time with the language.