3 ms·
I'd say Python has more batteries than Go. Also I recently learned Go's CLI parser is pretty weak compared to argparse.
by Evidlo 6y ago
I'd say Python has more batteries than Go.
Also I recently learned Go's CLI parser is pretty weak compared to argparse.
- cp9 6y agoymmv there but for what I'm looking for Go is usually more helpful than python straight out of the box, specifically because you don't have to reach for a third party library to make simple http requests, which is what I often end up using a scripting language for. I did just pick up argparse though and was very pleasantly surprised about how nice it is, go's `flags` module in the stdlib is unfortunately not quite as nice and is one of the things I reach for a third party library on. However, because it's pure go it still compiles down to a single binary which you can just scp around.