The web stack in Python got dramatically better in the past two years: just take a look at Flask, Werkzeug, requests, class-based views in Django, etc. There were major improvements in deployment, too: Fabric and supervisord are maturing very nicely. Once you've nailed the CRUD part of your startup down and want to start slicing your data in interesting ways, you have extremely powerful and easy-to-use libraries like…
Better than before or better than Ruby? I think you struck a valid point, though. There are lots of options for relatively small Python-esque web stacks, and considering that the architecture style seems to go that way – with lots of independent services and big JavaScript frontends – you're often quite well-served with Python. But maybe that's just my somewhat biased perception, I wonder how the general trend of Pyt…
Ask HN: Why are more Startups using Python over Ruby?
11–20 of 23 posts
Re: Ask HN: Why are more Startups using Python over Ruby?
#12Re: Ask HN: Why are more Startups using Python over Ruby?
#13So far you haven't provided a credible reason to think that "more Startups are using Python over Ruby?"
Re: Ask HN: Why are more Startups using Python over Ruby?
#14I can't give you a definitive answer, but I'll explain why my company chose to use python. NOTE: We're a technical startup in the telecommunications industry. We build web-based telephony applications in addition to traditional phone-based applications. 1. python's syntax is extremely clear and easy to read / maintain. I can open any python project, and immediately find my way around with no prior knowledge. This mak…
Re: Ask HN: Why are more Startups using Python over Ruby?
#15Re: Ask HN: Why are more Startups using Python over Ruby?
#16General purpose stuff though I concur that python tends to beat out ruby. Except for maybe puppet.
Re: Ask HN: Why are more Startups using Python over Ruby?
#17So far you haven't provided a credible reason to think that "more Startups are using Python over Ruby?"
Haven't seen a credible reason to think the inverse, either.
We might as well both face-up to not knowing anything about that particular question :-)
Re: Ask HN: Why are more Startups using Python over Ruby?
#18Re: Ask HN: Why are more Startups using Python over Ruby?
#19Before you even being to make the statement "Why are more Startups using Python over Ruby?" you need some data. I'd be willing to bet that more places do in fact use python over ruby, but that number is a lot closer to 50/50 than you think. In fact, it is probably so close that this argument becomes pretty silly.
I once heard a successful startup founder describe the choice to use Python over Ruby because a couple of years ago getting started with Ruby was too difficult for them. They had spent a day trying to setup Ruby, Rails, etc and nothing was going correctly. After that they tried to install Python, it worked, and from that point on code was written in python. This story isn't elegant, sexy, or thought provoking, but it goes to show you that there are all sorts of crazy, silly, and stupid reasons why some people pick one language over another.
Lets talk about reasons why startups are _NOT_ using Python over Ruby.
Python is not taught at more schools than Ruby. Well, I couldn't find a list of schools teaching Ruby, but search for the Python list (hint, its up on python.org). There are only a handful in the US and these look like nothing when you consider all of the places that use Java.
Python's syntax is not easier or better than Ruby's. Nor is Ruby syntax better than Python syntax. Anyone trying to compare the two is just looking for a flamewar. Omg significant white space vs lol meta programming type arguments.
Both languages have excellent documentation and community. Very hard to compare these sort of things.
Django is a great framework, but so is Rails. Both have very vibrant ecosystems that are just exploding right now.
Tools - great tool sets in both. If a Ruby tool comes out that is good you can bet your ass there is going to be a python port of it in the next few years (and vise versa of course). A single great tool is never bound to one language/framework.
Implementations - both languages have a ton of cool projects that revolve around finding alternative ways to rebuild the VM.
Go ask people why they chose to write in a language/framework. They are going to give you answers like "it's what we chose", "i dunno, we just knew it". Comparing things like documentation, community, MVC Frameworks, tools, syntax, etc with two languages like Python and Ruby is pretty silly because its going to become a wash every time.
Re: Ask HN: Why are more Startups using Python over Ruby?
#20Because they are just going by whats trendy I suppose. If they wanted to build something serious that can actually scale then they probably shouldn't be using a dymanic language at all.