3 ms·
Because Python is godawful for dependencies. With Go, you write, you compile, you ship the binary, job done.
by traceroute66 3y ago
Because Python is godawful for dependencies.
With Go, you write, you compile, you ship the binary, job done.
- geocrasher 3y agoIs Go genuinely as dependency independent as bash on a fresh Linux install? If so I'd find this very interesting and perhaps worthwhile to learn. I work in an environment where everything is done at the Linux command line. I'd be thrilled to re-do some of my my complex bash scripts in Go if there is a good advantage to doing so.
- mbwgh 3y agoThe idea is that if you need dependencies, you only need them present during compilation on the machine you develop on. You then compile a statically linked binary and copy this to the machine where it's needed. There may be other advantages like static types, editor integration and so on, but that's beside the point.
- dharmab 3y agoGo's dependency management is in a really good state. For building your code, Go modules are generally easy to use and editor integrations exist to automatically update your dependencies as you type. Then you build a static binary and distribute it, no installers or packages required.
- adr1an 3y agoThat sounds like a lot of steps when you require interaction (e.g. for bash I list files, then try find, then xargs with echo, etc until I got what I wanted..)
- elzbardico 3y agoFor the kind of things I do with bash scripts, the python standard library is usually more than enough.