Earlier quoted context omitted.
It also means you have to stumble upon Moose to start using objects in a reasonably sane way. The average new Perl programmer is not going to go looking for a library that does object-oriented behavior until it's too late. They'll probably have some crazy idea that the language should be doing OO for them. If you were to navigate a largish Perl codebase today, you'd encounter the old-school bless, Moose trickiness, a…
>>The average new Perl programmer is not going to go looking for a library that does object-oriented behavior until it's too late. Sigh, please don't start language wars by stuff like assuming new programmers sits alone in an ivory tower and don't talk to people, read blogs or browse a new book. (Modern Perl discuss Moose before the old standard, for instance.) Edit: I'm just not going to touch where you assume all P…
Comparing PHP, Perl, Python and Ruby
41–50 of 92 posts
Re: Comparing PHP, Perl, Python and Ruby
#42Earlier quoted context omitted.
It also means you have to stumble upon Moose to start using objects in a reasonably sane way. The average new Perl programmer is not going to go looking for a library that does object-oriented behavior until it's too late. They'll probably have some crazy idea that the language should be doing OO for them. If you were to navigate a largish Perl codebase today, you'd encounter the old-school bless, Moose trickiness, a…
>>The average new Perl programmer is not going to go looking for a library that does object-oriented behavior until it's too late. Sigh, please don't start language wars by stuff like assuming new programmers sits alone in an ivory tower and don't talk to people, read blogs or browse a new book. (Modern Perl discuss Moose before the old standard, for instance.) Edit: I'm just not going to touch where you assume all P…
Probably the same reason the French don't like the English or the Indians don't like the Pakistanis. The closer two things are to each other, the more passionate people are about the differences.
My experience is that all the languages are identical. Python has a culture of cleanliness at the core, but there is a lot missing from the language that makes it unclean in practices. (See: the investment bank I worked where all new apps were written in a C#/C++/Python trialect, to coin a new word.) Perl is a very messy language, but the community has hyper-overreacted and have made a very clean set of "best practices". I haven't done much Ruby, but I can't say anything other than that it looks like a combination of Perl and Python, with a relatively new community around it.
These three languages are largely the same thing: they run slow and they're fun to write. Hence all the infighting.
Re: Comparing PHP, Perl, Python and Ruby
#43Earlier quoted context omitted.
> I mean Wordpress flat out resisted PHP 5.0 for years. Years. Everything had to be done in PHP4. I presume that's because of the size of Wordpress' install base. The number of people who run their software on $9/month shared hosting environments is staggering. Many of those are late to upgrade PHP versions. Wordpress gets a lot of crap for being poorly written but the truth is that it's an example of software that w…
Wordpress gets a lot of crap for being poorly written because it is poorly written . There's no great mystery here. Yes, they deal with lots of different configurations. This is not unique in the history of software development. It's called "portability" and many organisations seem to be able to achieve it without compromising quality. My searing, eye-boiling hatred for Wordpress comes from administering it for what…
Re: Comparing PHP, Perl, Python and Ruby
#44sed begat awk. awk begat perl. perl begat python and ruby. python will get you a job at google. ruby will get you a job at twitter. php will get you a job at facebook.
I used Perl for all of my job interviews at Google, and I work at Google.
But Google is a Java and C++ company, with some Python around (but a bit of an anti-scripting culture as well).
Re: Comparing PHP, Perl, Python and Ruby
#45sed begat awk. awk begat perl. perl begat python and ruby. python will get you a job at google. ruby will get you a job at twitter. php will get you a job at facebook.
I heard that twitter are moving from ruby to scala.
Re: Comparing PHP, Perl, Python and Ruby
#46Earlier quoted context omitted.
Wordpress gets a lot of crap for being poorly written because it is poorly written . There's no great mystery here. Yes, they deal with lots of different configurations. This is not unique in the history of software development. It's called "portability" and many organisations seem to be able to achieve it without compromising quality. My searing, eye-boiling hatred for Wordpress comes from administering it for what…
You are right it is far from perfect, it is pragmatic and providing a great amount of value for people/ businesses. It is surprising to me that we haven't seen a big challenger trying to do it right from a back end perspective.
Wordpress delivers these in spades.
Re: Comparing PHP, Perl, Python and Ruby
#47Earlier quoted context omitted.
True, but PHP 5.4 doesn't even have a stable release yet & many people haven't even adopted 5.3.
5.3 Come out in 2009, I has a small list of backwards compatibility breaking changes ( http://www.php.net/manual/en/migration53.incompatible.php ), no reason for anyone really not to have adopted it.
> no reason for anyone really not to have adopted it.
These things are not mutually exclusive. I.e. you could be write, but Klinky definitely is.
Re: Comparing PHP, Perl, Python and Ruby
#48Wonderful reference for comparison! I admittedly haven't had time to pursue the whole table, but wanted to point out that there is indeed an increment and decrement in python: x += 1 x -= 1
Re: Comparing PHP, Perl, Python and Ruby
#49Earlier quoted context omitted.
>>The average new Perl programmer is not going to go looking for a library that does object-oriented behavior until it's too late. Sigh, please don't start language wars by stuff like assuming new programmers sits alone in an ivory tower and don't talk to people, read blogs or browse a new book. (Modern Perl discuss Moose before the old standard, for instance.) Edit: I'm just not going to touch where you assume all P…
Why are there so many language wars-lovers in some open source communities...? Probably the same reason the French don't like the English or the Indians don't like the Pakistanis. The closer two things are to each other, the more passionate people are about the differences. My experience is that all the languages are identical. Python has a culture of cleanliness at the core, but there is a lot missing from the langu…
Re: Comparing PHP, Perl, Python and Ruby
#50Earlier quoted context omitted.
5.3 Come out in 2009, I has a small list of backwards compatibility breaking changes ( http://www.php.net/manual/en/migration53.incompatible.php ), no reason for anyone really not to have adopted it.
> many people haven't even adopted 5.3. > no reason for anyone really not to have adopted it. These things are not mutually exclusive. I.e. you could be write, but Klinky definitely is.