4 ms·
I use Go and Python both for short scripts and tests in a very similar way, when the Standard Library covers my needs. echo 'package main import "fmt" f
by biztos 4y ago
I use Go and Python both for short scripts and tests in a very similar way, when the Standard Library covers my needs.
echo 'package main
import "fmt"
func main() { fmt.Println("hello"); }
' > foo.go && go run foo.go
But once I have to worry about dependencies, I do prefer Go's "pretend you are a module" dance vs. Python's "discover the differences between your install and the author's install" dance.