6 ms·
You know what? The very fact that you are having to write this post means Python isn't doing just fine. The fact is Python was a fashion some years ago. Like 2
by kamaal 14y ago
You know what? The very fact that you are having to write this post means Python isn't doing just fine.
The fact is Python was a fashion some years ago. Like 2-3 years back, It was the hip language to learn. Now the current fashion is NodeJS and Go. Like it or not get used to this fact. Python system is currently undergoing wants of features what Go and NodeJS provide out of the box. This is feature hunger, and is fundamentally what causes languages to slowly phase out from the main stream to let other languages take its place.
This doesn't mean Python is bad or lacks something. Its just that only its not the fashion currently. The fashion is something else, and people don't like old fashion being pushed down their throats. People like new stuff, Python is getting old, boring, too many people are into it now and its not hip anymore.
Now, coming to the other part.
Contrary to whatever you think Perl is doing awesome at this time now. Because the Perl community has moved on. Those dark troll days that existed 5 years back are gone. There are some very awesome things happening in the Perl community which probably are not happening even in Python.
Perl has learned its lesson the hard way. Which is if you want to survive and compete, ship awesome stuff! And Perl is doing just that. New syntax, sugar and enhancements are going in to Perl core every major release(2 years). CPAN is going just awesome. Apart from that people like chromatic are doing real great work in the documentation area. There are tools like Moose, Devel::Declare, DBIx::Class etc which probably Python can never get ever!
In the other news Perl 6 is hurling quickly towards its finish line and will be there in short time now(like probably next year end), and for a project of such huge magnitude it will be quite a language to watch out.
- pyre 14y agoI thought that "Perl 6 is not Perl" was pretty much well understood by now. Perl 5 and Perl 6 are such vastly different languages, that they might as we have just named it something different.
- kamaal 14y agoI think its right to say Perl 6 is not Perl 5. But Perl 6 is definitely Perl. I mean its Perl because it preserves the spirit of Perl since Perl 1. Besides as Larry has mentioned in so many occasions, Though Perl 6 has been designed ground up, in many ways that's the language Perl he always wanted to use. Using the name Perl also serves marketing needs.
- runjake 14y agoIt's not a very good marketing tactic, then. It gives end users the impression that Perl has stagnated, whether or not it's true. They've been talking about Perl 6 a long, long time.
- pwang 14y ago> People like new stuff, Python is getting old, boring, too many people are into it now and its not hip anymore. Lots of people are also into breathing, eating, and having sex. I don't see those activities losing mindshare. Programming languages and their affiliated ecosystems are tools for solving problems. It's fine if you want to argue that Python has ceased to solve problems for people now, either because there are new problems, or because Python itself has changed/evolved into irrelevance. But if it truly is the case that some people don't want to use it because "it's not hip", then those people are probably not actually trying to solve real problems that anyone cares about.
- GlennS 14y agoI'm not convinced that Python was ever all that beloved of web fashionistas or technology blogs. If you think that NodeJS could replace it, you probably don't understand what Python programmers find appealing in a language. These are people who like their code tidy, and are really bothered by little details like [] + [] == "". Agree with you about Perl though. Definitely still a persistent hum of Perl usage amongst programmers I know.
- kamaal 14y ago>>you probably don't understand what Python programmers find appealing in a language. 99% of all programmers in this world are in the game for employment reasons. People are going to go things where money is. In the past it was Python, now its slowly shifting to something else.
- dalke 14y agoWhere's your sense of history? People wrote this sort of thing back 10 years ago, when Ruby was becoming popular. People wrote posts saying that Ruby would take over from Python, and others replied saying that no, it wouldn't. The 'fact that the author wrote this post' is nothing new - it's more of the same. And "2-3 years back"? Paul Graham's "The Python Paradox" was in 2004 and Peter Norvig's "How to Write a Spelling Corrector" was 2007. Neither of those were turning points. Python was, long ago, chosen as one of the three main languages at Google. Can you identify what it was 2-3 years ago which indicated that it was the hip language de jour? Congratulations about Perl6 advances. It was the cumbersomeness of Perl5 objects and dealing with complex data types which helped me switch to Python, back in the late 1990s.
- cygx 14y agoIt's hard to predict the long-term popularity of languages from history. For example, look at the P*-languages (Perl, Python, PHP, Ruby) If I'm not mistaken, peak popularity went something like this: Perl->PHP->Python->Ruby->? Now, look at the release dates of these languages (according to Wikipedia's 'appeared in'): 1987 Perl 1991 Python 1995 PHP 1995 Ruby While Perl and PHP got popular pretty fast, it took years for Python and Ruby to gain traction. All of these language still have reasonably vibrant communities, even though Javascript appears to be 'hot' right now.
- dalke 14y agoI've been trying to get a sense of popularity. All I can find is the "TIOBE Programming Community Index." I looked at the chart for the last 10 years of numbers. Perl started declining in 2005. PHP's popularity seems to have been 2004-2010. Ruby's was 2007-2010, though it seems to be making a comeback. Python's was 2004-2011, and it again seems to be on the rise again. Those are relative numbers. In absolute numbers, PHP is ranked higher than VB, then Python, Perl, Ruby, and Javascript. It doesn't seem reasonable to really talk of peak usage over the last 10 years. It might be possible to talk about "most mentioned by the popular bloggers", but that's also a different metric.
- 14y ago
- viraptor 14y ago> There are tools like Moose, Devel::Declare, DBIx::Class etc which probably Python can never get ever! I'm not sure why you bring these up, but yes - Python has those. Moose is pretty much built in - objects are in the language itself and there's no need for more syntax sugar on top. DBIx::Class is SqlAlchemy. Devel::Declare is hopefully never going to appear... unless David Beazley is bored one weekend.
- kamaal 14y ago>>Moose is pretty much built in No actually, Python has an easy class syntax, that's it.
- draegtun 14y ago> Moose is pretty much built in - objects are in the language itself and there's no need for more syntax sugar on top Python's object system only provides a subset of what Moose (and Class::MOP) currently offers. Have a look at Bullwinkle which is a (currently incomplete) port of Moose to Python: http://pypi.python.org/pypi/bullwinkle/ http://pypi.python.org/pypi/bullwinkle/
- cmccabe 14y agoIs anyone actually using Perl 6 in production, or planning to? (Serious question, not a troll.)
- draegtun 14y agoYes. Its limitations are speed and libraries. However each year these continue to improve. So for now I've only used it a couple of times for small scripts but I do plan on writing some modules/libraries in perl6 in the (near) future. Also chromatic (http://news.ycombinator.com/user?id=chromatic http://news.ycombinator.com/user?id=chromatic) has mentioned about using it for many years in his production systems (however I think he ripped it out recently and replaced it with perl5 solution).
- chromatic 14y agoI think he ripped it out recently and replaced it with perl5 solution... January 2011, in fact. I couldn't afford to keep babysitting it to keep it running. I haven't tried since then, so things may be a lot better now.
- raiph 14y agoI'd say that, until this summer, only core hackers claimed to use or even try Perl 6 to get anything business like done. chromatic's comment below is gracious but I think he had a quite unpleasant experience, at least business-wise. And he was a core hacker. The most fun example I know of of someone, other than a core-hacker, planning to use Perl 6 in a production setting, is Sir Robert, as discussed on his 6ing.org blog and introduced at http://www.6ing.org/?p=6 http://www.6ing.org/?p=6 (I would describe myself as an avid Perl 6 watcher. I've been watching it for 12 years. For the last 18 months I've read pretty much the entire days' worth of dialog of the freenode #perl6 IRC channel, nowadays the main hub of Perl 6 activity. And in the last few weeks I've been selecting a subset of log lines representing the gist of each day's activity. For example: http://irclog.perlgeek.de/out.pl?channel=perl6;date=yesterday;summary=1 http://irclog.perlgeek.de/out.pl?channel=perl6;date=yesterda...)