3 ms·
Currently doing a fair bit of both Python and Go. Python: A decent packaging system. Lots of packages. A debugger! Go: Go-routine
by rgacote 11y ago
Currently doing a fair bit of both Python and Go.
Python:
A decent packaging system.
Lots of packages.
A debugger!
Go:
Go-routines and channels are quick, easy to use concurrency.
Compiles down to single distributable binary.
Lousy packaging.
Debugger somewhere between primitive and none.
In Go we're consistently writing more lines of code than in Python, fighting to get third-party package versioning correct, and reverting to Printf as primary debugging technique.
On the other hand, Go's general binary distribution is much simpler, running the compiler is like running lint on your code, concurrency is relatively easy.
At the moment, we're moving from a primarily Python environment to an environment to where we use Python for all user-facing web applications and Go for web service APIs. Your milage may vary.