Originally posted by: BingBongWongFooey
Originally posted by: ynotravid
It seems to me that with preferences aside, Perl and PHP's large, availible, and ever increasing, code base kinda leaves Python the odd man out.
Not sure what you mean by "code base" with respect to an entire programming language, but whatever it is, I wouldn't say that Python's isn't large.
http://docs.python.org/modindex.html
http://aspn.activestate.com/ASPN/Python/Modules/
http://www.vex.net/parnassus/
Available? How would code be unavailable?
Ever increasing? Python is going down the tubes?
Some propoganda for ya:
http://developers.slashdot.org...&tid=192&tid=6
http://www.linuxjournal.com/article.php?sid=3882
http://www.paulgraham.com/pypar.html
It seems that some people like to quickly dismiss Python because it doesn't fit into the little circle of "super duper popular programming languages." Spend some time learning it, and you'll not only see the light, but you'll decrease the general level of Python ignorance by a tiny bit.
I wouldn't say that Python isn't large either, that would be ludacrous.
Let me rephrase (it was like 3am when I made the comment).
It should have read:
PHP and Perl are more popular than Python and therefore have more people developing and sharing useful code. What about Python makes it worth choosing over these two?
The reason I ask, is not because I think Python is useless, far from it, but because I really want to know.
In the past I have been interested in checking it out after getting enthusiastic reviews from a couple people including a friend and coworker Jon. But I didn't get very tangible reasoning behind choosing it over other options. The best I really got was: "Perl has evolved into it's role over a long period of time and thus is not streamlined for it's own purpose while Python was designed from the ground up for it's purpose."
Well to sum up a long story, Jon ended up switching over to Perl for a web based project management app he was working on, and when I asked him why, he said he did it because it was harder to find the asnwers to problems he faced using Python. Now to be fair, a year after the whole thing was said and done, he told me if he had to do it all over again he would have used PHP, but that still begs the question: "What about Python makes it worth choosing over the other options?"
Sorry if I struck a sore spot with this. I was not and am not arguing against Python.
That being said, the only conclusion I have been able to formulate thus far, is that, the reason people "quickly dissmiss" Python is because nobody can give them a sexier answer as to why they should use it other than, "it's readable." A valid point but #People figure that that's what comments are for. Ignorant, maybe, but popular none the less. And I think a lot of people are just used to dealing with the terse nature of programming in general.
That is also my opinion on why Python grows slower. For the most part the only people that are picking it up are people that are naturally curious (rare), people who get introduced to it in school(very rare), and people who are willing to take the simple opinion, of someone they respect that "Python is great." All of these people will undoubtably fall in love with the language but not very many people will get to that point.
Thanks for posting the book reviews, hopefully they will help me see the light and decrease the general level of python ignorance a little bit. That's why I post my questions and comments here at Anand.
P.S. I hate people who ramble on in really long posts too.