2 ms·
Why are so many of these written in python? That seems against the spirit of this quiz. Should change the name of the site to "how fast is python really?"
by sublinear 3y ago
Why are so many of these written in python? That seems against the spirit of this quiz. Should change the name of the site to "how fast is python really?"
- yen223 3y agoI presume it's because Python has a reputation for being a slow language, and this quiz wanted to show that even "slow" Python code can be fast on modern hardware, unless you touch IO. That, and Python is probably the most accessible language for the most number of people.
- 7speter 3y agoI imagine it might be because python is a much easier to read language. If someone with a non programming background comes across this because the question (and answer) is interesting to them, they can have an idea of whats going on.
- weatherlight 3y agoI don't find python easier or harder to, compared to..ruby, javascript, ( or even OCaml) for example. Most people who are tech adjacent, learn declarative langs like SQL, HTML first. Python doesn't look like that at all. It's like when people say "Go is so easy to read!" I learned to program in SML then OCaml, __insert other FP langs__ then Ruby and ES6, Go looked pretty alien to me the first time I saw it.
- jangxx 3y agoThat's cool and all, but then you're not "most people". Personally I found Go super easy to read the first time I saw it, but my journey through the programming languages was also a different one.
- weatherlight 3y agoI think the point I'm making is that there's nothing "universal" about a language that makes it easier to learn then other languages. It's what ever your previous experience is. In my point, I rebuttal that non programmers would find python "easy to read", kinda not true. I then use my exposure to Go as antidotal evidence, of the above observation.