News for hackers. Stuff that matters.
Re:Ask HN: Python gaining popularity by vaksel on Friday October 01, 2010 @10:52PM (#1749554)
I think the main reason is because Google uses Python, so many of the top programmers learn it.
Re:Ask HN: Python gaining popularity by beambot on Friday October 01, 2010 @11:48PM (#1749654)
Personally, I attribute its use (at least in science / engineering) to the numpy, scipy, matplotlib combo. It makes prototyping fast, flexible, and rivals (surpasses IMO) Matlab.
Re:Ask HN: Python gaining popularity by daniel02216 on Friday October 01, 2010 @11:58PM (#1749673)
Anything is better than Matlab.
Re:Ask HN: Python gaining popularity by hugh3 on Saturday October 02, 2010 @12:37AM (#1749734)
Spoken like someone who hasn't written nearly enough Fortran.
Re:Ask HN: Python gaining popularity by trustfundbaby on Saturday October 02, 2010 @01:57AM (#1749862)
.. or COBOL
Re:Ask HN: Python gaining popularity by sunqiang on Saturday October 02, 2010 @04:02AM (#1750037)
and IPython, it's a import part of NumPy/SciPy/MatplotLib family, offers a great many convenience features, such as tab-completion of python functions and a good help system. not to mention the new ZeroMQ messaging design(http://ipython.scipy.org/doc/nightly/html/development/messag...).
Re:Ask HN: Python gaining popularity by alextingle on Saturday October 02, 2010 @03:26AM (#1749988)
I disagree. I use Python because when I was forced reluctantly to use it, I found that I already knew it! I was simply amazed how far I could get by simply guessing the syntax.

"import flight" indeed.

That was all long before Google started to aggressively adopt it.

Re:Ask HN: Python gaining popularity by chc on Friday October 01, 2010 @11:34PM (#1749627)
This is the real reason AFAICT. Anybody who tries to pin it on Python's obvious superiority to Ruby is just not paying attention. They're not the same, but not so different that one has a clear advantage over another in most people's minds.
Re:Ask HN: Python gaining popularity by swolchok on Saturday October 02, 2010 @03:01AM (#1749950)
Speaking as a Python person who recently had to dig through a Ruby project, I can see why people like Ruby and RoR (lack of explicit return statements make your code look functional, lack of parens makes your code look minimal, it's nice to have "unless"), but it is not for me.

(I will not go into Ruby's disadvantages nor direct language comparison because I don't want this thread to devolve into a language flamewar.)

Re:Ask HN: Python gaining popularity by chc on Saturday October 02, 2010 @03:10AM (#1749966)
Oh, absolutely. I'm much the same, only leaning toward Ruby's side. What I mean is that the differences are very much matters of taste — they both have warts, but neither so glaring that it makes the language obviously worse. To an impartial observer (i.e. sonebody who is looking from outside and hasn't "bought into" either language or its philosophy), they look very similar, because they are.