|
|
|
|
|
by mbubb
2938 days ago
|
|
Tom L is a good writer - I have gotten a lot out of his books and articles over the years - excellent point here: "Since February 2015, the SRE (site reliability engineering) team at Stack Overflow has switched from a mixture of Python and Bash to Go. Even though Go isn't a scripting language, for small programs it compiles and runs nearly as fast as Python takes to start. At Stack Overflow we tend to prefer compiled, type-checked languages for large programs, especially when multiple people are collaborating, and, therefore, no one person is familiar with every line of code. Our policy was that Bash scripts couldn't be larger than 100 lines and Python programs couldn't be larger than 1,000 lines. Those seemed like reasonable limits. Rewriting scripts when they grew beyond the limit, however, was a lot of work. It was better to start in Go and avoid the conversion." Not Golang, per se, but over time you are limited by your tools. Big bash scripts get unwieldy. Nodejs changes underlying dependencies (coincidentally wrestling with 4 yr old nodejs this week). |
|