Live data from Hacker News

Why did Quora choose Python (over PHP and others) for its development?

quora.com

41–45 of 45 posts

Re: Why did Quora choose Python (over PHP and others) for its development?

#41
post #26

The biggest issues with Python are speed and the lack of typechecking. Interesting that they took this bit of wisdom away from programming in PHP . I say this because I've never heard anyone consider a lack of type-checking as an issue when considering Python. It's a feature. You either need type-checking or you don't. I suspect that the Quorum engineers didn't need type-checking, so I don't understand why the felt t…

> Spare yourself this yammering rant. They chose Python because that's what everyone else at the company was cool with. End of story. I don't think it's a bad idea to evaluate the alternatives, even if you are very comfortable with a specific language. Granted we were pretty cool with Python and that is definitely a major factor in the decision, but it can't be the only one. For example, we were all very comfortable…

Evaluating the alternatives is smart of course.

I just don't understand why type-checking and speed were factors in choosing the language you were after. If they were, then why even bother looking at Python at all? It isn't a fast language and doesn't have type-checking.

The rest of the article is spent telling me why these features aren't important. Both C# and Java have type-checking (though C# perhaps is a little more loose) and are pretty fast. Yet the article claims that Python is fast enough and that type-checking isn't a requirement because you're more concerned with value assertions (and unit-tests are good enough to validate them).

So essentially the article sets up false premises and knocks them down one by one. Type-checking wasn't actually a requirement. Neither was speed. The only reason we are left with for why Quora chose Python was because that's what most people were familiar with.

I'm not saying it's a bad choice or that your conclusions were incorrect. I just don't think it was a good article.

Re: Why did Quora choose Python (over PHP and others) for its development?

#42
post #26

Earlier quoted context omitted.

> Spare yourself this yammering rant. They chose Python because that's what everyone else at the company was cool with. End of story. I don't think it's a bad idea to evaluate the alternatives, even if you are very comfortable with a specific language. Granted we were pretty cool with Python and that is definitely a major factor in the decision, but it can't be the only one. For example, we were all very comfortable…

Evaluating the alternatives is smart of course. I just don't understand why type-checking and speed were factors in choosing the language you were after. If they were, then why even bother looking at Python at all? It isn't a fast language and doesn't have type-checking. The rest of the article is spent telling me why these features aren't important. Both C# and Java have type-checking (though C# perhaps is a little…

True, I honestly don't think C# or Java were even in the race. I think the only real alternatives I would've been happy with would've been either Scala or some flavor of ML or Haskell, all of which definitely satisfy the speed and type-checking factors that were mentioned.

Let's put it this way: if any of those languages had half the library support that Python did, then it would've been a decent fight. But as it goes right now it's not even close.

EDIT: Sorry, the library support only applies to ML and Haskell, and I forgot about Scala. I'll have to think about this one; I'm not sure the reasoning for that was entirely well fleshed out.

Re: Why did Quora choose Python (over PHP and others) for its development?

#43

Earlier quoted context omitted.

lately i'm trying to exercise my desire for humor over on Reddit rather than here, for the reasons you stated. Goes down better over there. Plus they have narwhales.

I'd give anything for a friendly narwhal right now.

Christ, some people here are fucking uptight. Quality comments are one thing, and HN has done a good job of keeping a quality community, but having a stick up your ass is a different matter.

Re: Why did Quora choose Python (over PHP and others) for its development?

#44

Earlier quoted context omitted.

I'd give anything for a friendly narwhal right now.

Christ, some people here are fucking uptight. Quality comments are one thing, and HN has done a good job of keeping a quality community, but having a stick up your ass is a different matter.

yep I've been getting sick of it lately. I'm on to better things.

Re: Why did Quora choose Python (over PHP and others) for its development?

#45
post #38

Earlier quoted context omitted.

I take that to mean the United States and Europe. Python is used extensively in the sciences and financial services on both sides of the pond.

Still, why "West"? To confirm your geographical hunch, I went ahead and asked Google: http://www.google.com/insights/search/#q=ruby%20AND%20rails%... Just take a look; the django bar is not even a bar, more like a square. Rails seems to have a 40:1 edge over Django in popularity. The other thing you will notice is that India is where Rails is most popular; but try to pull back the timeline slider and play with it a b…

I'm not sure what your link is trying to show, actually.

But note that most people searching for Django will use only the name Django, whereas Rails is often called "Ruby on Rails", meaning searches for "ruby and rails" will naturally tend higher than "python and django". Again, I'm not sure I understand your point, so I don't know if this means anything.

Post reply on HN