I've been doing web development for a while now and I've gone through numerous languages, while I have not tinkered with all of them, I have seen and played with most.
PHP is a messy language for starters. It's attractive to any new programmers or "scripters" as I should say. It's organization is horrid but can certainly can be upgraded with the use of a framework like Zend, CakePHP, etc.
In general, PHP is a loose language that asks for ugly and horrible representations of organization and code design. It's ability to quickly develop something is quite beautiful in PHP but the after effects of it with long term success deteriorate by an exponential factor as the code base increases, generally incurring a full rewrite. PHP certainly does have a base and there are a lot of big web companies that continue to use: Facebook, MySpace, Friendster, etc. (The list really does go on) so perhaps there is some merit to it. It certainly is a fast language as far as dynamically typed scripting languages go.
Python really takes the cake though. It's organization is beautifully integrated via imports, it's dynamically typed, and it's awesomely fast. There's a fair bit of debate on the merits of Python using common whitespace syntax as part of the programming language which in some cases people feel like it hinders versatility and creativity in coding style. I don't feel this way personally as I avidly whitespace, I think it's much nicer to incorporate this way.
Python has great parsing power which always necessary in web development and exercises true object oriented programming which PHP seems to have hacked together though they are progressing quickly to something with better design.
Python is a bit more difficult to get up and running with (not by much) but it's certainly worth the time spent.
My time with Perl generally felt almost impossible to create a large and organized project. It seems inherently messy at times although I am sure hardcore Perl advocates will cast me to hell just for saying this. Perl is great like PHP in that it's ready for you to hack together and push out.
My experience with Ruby is little to none so I'll wait for someone else to bash it! Although, with the outages twitter.com appears to have almost weekly, it seems less of a good fit for any company to use that has scalability concerns in general.
Benchmarks can be found here:
http://shootout.alioth.debian.org/gp4/benchmark.php?test=all&lang=all
Posted on: 01-26-2008, 1:25 AM
PHP is a messy language for starters. It's attractive to any new programmers or "scripters" as I should say. It's organization is horrid but can certainly can be upgraded with the use of a framework like Zend, CakePHP, etc.
In general, PHP is a loose language that asks for ugly and horrible representations of organization and code design. It's ability to quickly develop something is quite beautiful in PHP but the after effects of it with long term success deteriorate by an exponential factor as the code base increases, generally incurring a full rewrite. PHP certainly does have a base and there are a lot of big web companies that continue to use: Facebook, MySpace, Friendster, etc. (The list really does go on) so perhaps there is some merit to it. It certainly is a fast language as far as dynamically typed scripting languages go.
Python really takes the cake though. It's organization is beautifully integrated via imports, it's dynamically typed, and it's awesomely fast. There's a fair bit of debate on the merits of Python using common whitespace syntax as part of the programming language which in some cases people feel like it hinders versatility and creativity in coding style. I don't feel this way personally as I avidly whitespace, I think it's much nicer to incorporate this way.
Python has great parsing power which always necessary in web development and exercises true object oriented programming which PHP seems to have hacked together though they are progressing quickly to something with better design.
Python is a bit more difficult to get up and running with (not by much) but it's certainly worth the time spent.
My time with Perl generally felt almost impossible to create a large and organized project. It seems inherently messy at times although I am sure hardcore Perl advocates will cast me to hell just for saying this. Perl is great like PHP in that it's ready for you to hack together and push out.
My experience with Ruby is little to none so I'll wait for someone else to bash it! Although, with the outages twitter.com appears to have almost weekly, it seems less of a good fit for any company to use that has scalability concerns in general.
Benchmarks can be found here:
http://shootout.alioth.debian.org/gp4/benchmark.php?test=all&lang=all




