Earlier quoted context omitted.
It is absolutely not a meme, it's [PEP 20]( https://peps.python.org/pep-0020/ ). Just because some people don't take it seriously, it's definitely a part of the language's soul.
I'm from the outside looking in so don't take me too seriously because I tried Python and bounced off of it; there's very likely elegant parts of the language that I never really internalized because I didn't spend enough time working with it. But speaking as someone who tried Python because I agree with principles like "have one right way to do things" and "be explicit", my initial impression working with language i…
Ask HN: Why did Python win?
631–640 of 856 posts
Re: Ask HN: Why did Python win?
#632Python ended up 'specializing' in data contexts, thanks to Numpy / Pandas, and as a result, ended up becoming the first exposure to programming than anyone doing data stuff had. That was millions of people. In that space, it had no competitors. Ruby ended up 'specializing' in web dev, because of Rails. But when Node and React came out, Ruby on Rails had to compete with Nodejs + React / MERN as a way of building a web…
Today I learnt I'm fucking old. My first web programming exposure was Perl CGI scripts
It was fun.
Re: Ask HN: Why did Python win?
#633Being a default install also has a lot of barrier-to-entry advantages in other settings, particularly in academia where there are similar (but usually not nearly as strict) bureaucratic restrictions on installing things, etc.
source: was a DoD computer science researcher focusing on ML for several years and witnessed people reach for python because they were still waiting for months, sometimes years for whatever software package or language to be installed / approved by security/IT and had no other dev tools
Re: Ask HN: Why did Python win?
#634Earlier quoted context omitted.
Because the best bits of Perl were kinda trash that Python was smart to avoid.
Yeah for sure, the PERL influence is why I dislike Ruby. Makes it really hard to read if you haven't been doing it constantly.
Re: Ask HN: Why did Python win?
#635Lua is simpler and, with LuaJit, much faster and far more C compatible.
C is still very widely used and generally comes above Python in the "best" language lists.
Re: Ask HN: Why did Python win?
#636Earlier quoted context omitted.
>> R, SSPS, Matlab... I'd immediately throw out "competitors" that cost hundreds of dollars to use. https://www.mathworks.com/pricing-licensing.html Academic pricing is $275/yr and normal is almost a thousand a year. Then you pay for modules on top.
Yes, and this is why R has become so dominant in the data and statistics spaces. R is free, and has gained so much momentum that it often has packages that no other language has. Yesterday I found out that there was just no way to easily reproduce mgcv::gam in python. There are loads of similar examples. As someone who likes both R and Python, and had the misfortune to learn Stata; I am very glad to see R winning ove…
There are perhaps a hundred NanoSIMS machines in the world as they're extremely expensive [2]. Yet we have an R package on CRAN to analyse their data!
[1] https://cran.r-project.org/web/packages/lans2r/vignettes/lan... [2] This 2017 reviews says there are 42 machines: https://www.osti.gov/servlets/purl/1398172
Re: Ask HN: Why did Python win?
#637Ruby is everyone's favorite toy: Fun to play with, and you shouldn't do anything serious with it.
Re: Ask HN: Why did Python win?
#638Back in the day, Perl had all the libraries and they were easy to install and worked well, then Python overtook this had all the libraries. Ruby never really had enough libraries to compete against Python.
Re: Ask HN: Why did Python win?
#639Between 2010 and now, among "backend" languages I've picked up and played around with there's been Java, C, C++, Haskell, Scheme, Racket, Prolog, Forth, Go, C#, and Rust. You could throw bash, JavaScript and Verilog onto that pile if you want extra oomph - and indeed I switched from bash to fish last year, because it was just a much better language.
So when a tool shows me a decisive advantage, I do switch. But nothing so far has done so for Python for me. I just don't see any decisive reason to switch when I already think in Python.