Live data from Hacker News

Ask HN: Why are more Startups using Python over Ruby?

news.ycombinator.com

11–20 of 23 posts

Re: Ask HN: Why are more Startups using Python over Ruby?

#11
post #8
post #6

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…

Oh, I should've been clearer: I meant that things got a lot better than before. I don't know Ruby all that well so I have no basis for making comparisons.

Re: Ask HN: Why are more Startups using Python over Ruby?

#14
post #10

I 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…

Would it be fair to say the same points apply to Ruby/Rails (with name variances of course)?

Re: Ask HN: Why are more Startups using Python over Ruby?

#16
I'd like to know where you are looking for job postings. Every posting I see is a Ruby on Rails shop. My own feeling around the bay area is that ruby/rails has overshadowed django/python...at least in the web arena.

General 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?

#17
post #13
post #5

So 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.

In which case the simple truth is that, you don't have a reason to think "more Startups are using Python over Ruby" and you don't have a reason to think "more Startups are using Ruby over Python" (and you probably don't even have a reason to think the same number are using Ruby and Python.)

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?

#19
None of the posts in this thread really answer the question to "why python over ruby", they just talk about all of the nice features of current python development. The thing is modern Ruby has all of those tool sets as well.

Before 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?

#20

Because 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.

The odds of your product ever having to scale are vanishingly small. Until you prove your product will actually need to grow to web scales, you should use whatever language allows you to deliver a product for the lowest possible cost in the shortest possible time. That usually means dynamic languages.
Post reply on HN