3 ms·
> Python's growth in popularity is largely due to its superior data science libraries and the backing of Google. Both are false. Data science libraries are qui
by dozzie 9y ago
> Python's growth in popularity is largely due to its superior data science libraries and the backing of Google.
Both are false. Data science libraries are quite new development that happened
because Python got popular, not the other way around. Backing by Google
(whatever you mean) was irrelevant, as the main selling points for Python
dozen years ago was simple and readable syntax and nice web toolkits (a
movement that followed Ruby with its RoR).
> If Perl6 hadn't taken 15 years to complete Perl's popularity might be different.
Perl6 didn't compete for popularity with Perl, because it was essentially
non-existent back then. Perl popularity decline cannot be attributed to Perl6.
The thing is, Perl is a very complex language, but has competiton that is
simpler grammar-wise and similarly powerful and expressive: Python and Ruby.
It's easier for newcommers to learn Python or Ruby than Perl, so they rarely
dig into Perl. This means that the number of people leaving the language (a
normal thing for any language) is not matched by the number of young
programmers, which leads straight to decline.
- cutler 9y agoRuby 1.0 was released in 1996 and Python 1.0 in 1994. If Perl's demise was due to the simpler syntax of Python and Ruby why was Perl ever popular? Answer: Perl CGI at the dawn of the WWW. I'd date Perl's decline from around 2005 so Django and Rails might have more to do with it than languages and syntax.
- pseudalopex 9y agoPerl was popular because it had a huge head start. Perl 5 was released the same year as Python 1.0. CPAN launched in 1995, PyPI in 2003. Python began to pick up momentum around 2000. It was able to break out of the "scripting" niche because it had good OO support and encouraged a consistent style that made it easy for several developers to work on a large project. Rails probably marked the tipping point, but it wasn't just the framework. A lot of Perl programmers found out they liked Ruby. You're right that Perl 6 was part of the problem; it might be where Ruby is today if it had come out in 2003. On the other hand, Ruby probably wouldn't exist if Perl 5 had a better object system.[1] It's "Ruby on Rails" because DHH fell in love with Ruby.[2] The creators of Django learned Perl before falling in love with Python.[3] So that has something to do with the languages too. [1] http://www.linuxdevcenter.com/pub/a/linux/2001/11/29/ruby.html http://www.linuxdevcenter.com/pub/a/linux/2001/11/29/ruby.ht... [2] https://www.quora.com/Why-did-David-Heinemeier-Hansson-choose-Ruby-over-Python-to-build-Rails/answer/David-Heinemeier-Hansson https://www.quora.com/Why-did-David-Heinemeier-Hansson-choos... [3] http://www.akitaonrails.com/2008/01/01/chatting-with-adrian-holovaty http://www.akitaonrails.com/2008/01/01/chatting-with-adrian-...
- petre 9y agoFor me it's quite the opposite: knowing Perl I have little incentive to learn Python; the syntax is quite different, it uses significant whitespace that can easily change the logic. With Ruby it's different because Matz was inspired by Perl and the language is quite ellegant. Too bad it's equally slow. Maybe if mruby/crystal changes that it would be a nice language to learn.
- cutler 9y agoWith TruffleRuby, Graal and Substrate VM all aimed at improving Ruby's speed I wouldn't write-off Ruby purely on performance. JRuby has also recently made great strides in performance.
- petre 9y agoWell okay but Jruby/Truffle is a JVM language. I just want an interpreter + code, or a binary to drop anywhere. Mruby is fast but you have to build modules into it at compile time. It would be nice if it had something like LuaRocks. Anyway, Ruby is doing fine, there is much innovation going on.