News for hackers. Stuff that matters.
Re:Go 1.18 by matwood on Tuesday March 15, 2022 @03:13PM (#30689840)
> I've found that now that I've gotten fairly fluent in the language I will often crack off small scripts in Go to automate dumb things I don't want to do in Bash or whatever, this is maybe an anti-pattern, depending on who you talk to.

I do the same. Most everything you need for quick scripting against services and the like is built in. No hunting down libraries. Then the build output is a fully contained binary that can run on my m1 mac, x86 server, whatever.

> It's also easy to throw together a one off tool in an afternoon, use it for two weeks, push it up to my github and forget I did it until the next time I need it.

And when you do go back to it, the code is easy to read and understand.

There are no comments on this comment yet.