3 ms·
All Pythonistas should switch to Go or okay, maybe just half
- eesmith 5y agoThis looks much like any other "language X is great!" postings. > one developer might use the NumPy package, another one prefers SciPy, and so on. When programmers want to blend their code into one package, things get messy. I don't even understand that. SciPy is built-on NumPy. Where's the messiness? > In Go, there’s only one way to write a piece of code. Compare that to Python, where you have zillions of ways to write one thing! I also don't understand this. There's oodles of ways to sort a list, no matter what language you use. The idea for Python is there should be one obvious way to do it, in this case, list.sort(). > Go is one of the most collaborative languages that exist these days. Notice the author doesn't claim Python is a less collaborative language. Such a claim would be hard to justify. But if Python were more collaborative, then surely it would be harder to justify switching. > So it’s no surprise that the community plays an explicit role in the annual Go surveys — unlike in many other languages. The title compares Go and Python, so pointing to "many other languages" seems a bit bait-and-switch. > And on these domains, other hot new languages are emerging. That points out Julia, for data analysis and machine learning, but not Rust, for systems programming, which would potentially compete with Go more than Python. > you can see that many of Python’s usages could be replaced by Go. By the same logic, many of Go's usages could be replaced by Python. > According to Hackerrank, about a third of all programmers wanted to learn Go in 2020 The comparison must be normalized, and I'm not going to register to get the Hackerrank report. Let's say that 70% of all programmers know Python and 1% know Go. Then at most 30% would say they want to learn Python, while 99% could say they want to learn Go. In that case, every programmer who do not know know Python wants to learn Python, while less than 1/2 of the people who don't know Go want to know Go.