Code boilerplate: Is it always bad? A case study between Python and Go
medium.com
medium.com
The Go alternative that's provided, if that's one's stylistic preference, is just as easily implemented in Python as it is in Go.
To my eyes neither the Go nor the Python implementations in the article are beautiful.
In any case, despite his bagging of Python, it seems like the author would agree with the Zen of Python:
Flat is better than nested. Sparse is better than dense. Readability counts.
We can test it by comparing the lines of code in non-trivial Python programs on GitHub with equivalent programs written in Go.