4 ms·
Pick Python for the sheer amount of libraries that's available. Not just for web stuff, where Node.js and Ruby do fine, but also for scientific work, for statis
by stdbrouw 11y ago
Pick Python for the sheer amount of libraries that's available. Not just for web stuff, where Node.js and Ruby do fine, but also for scientific work, for statistics, for embedded work (Raspberry Pi or MicroPython), for systems administration, for command-line tools, for really just about anything you can imagine. And you can do all of those things while not having to switch contexts between different syntaxes and different standard libraries for basic things like regular expressions or HTTP requests.
Picking the best tool for the job often gets in the way of actually getting things done. Python is the true swiss army knife of today's programming languages.
- abecedarius 11y agoThat's a good reason, but note that it used to be the reason you picked Perl.
- btreecat 11y agoStill a valid reason for people to chose Perl. Not advocating for Perl, just on behalf of Perl lovers like my office mate
- JupiterMoon 11y agoThe difference is that most people can read most other peoples' python code. Perl didn't tend to have that quality. EDIT Added another "most" to make it clear that not everyone can write readable python.
- collyw 11y agoThat depends entirely on who is writing the code. I have seen some truly awful Python as well as truly awful Perl.
- JupiterMoon 11y agoThis difference is that I've mainly seen decent Python and mainly seen awful Perl.
- platz 11y agoAlthough larger network effects might make it harder to turn the ship, this time around.
- sklogic 11y agoThis is exactly the reason why I use C, C++ and sometimes Fortran. Yet to see a Python library I'd need.