Earlier quoted context omitted.
Well, we can all dream, but what are you using now do get things done and make a living? I'm pretty sure Python and Ruby fail your criteria. Using the "perfect language" is a luxury that I for one can't afford. I need something that I can use reasonably easy and that is sought by employers. The fact that is has event-driven IO and parallelism (what kind of parallelism do you need for web sites?) is nearly irrelevant.
Yes, Python and Ruby do fail my criteria. Which is why I don't advocate them either. I'm currently using OCaml, but I would probably prefer to use Haskell. They are both far ahead of PHP. Assuming your website is doing anything non-trivial, parallelism would certainly be useful. Just because it's a web project does not mean you're not doing something computationally intensive, after all. But even if you don't need it…
PHP is much better than what you think
181–190 of 346 posts
Re: PHP is much better than what you think
#182For reference's sake, this article is written by Fabien Potencier, the creator of the symfony framework. This guy's probably single-handedly responsible for lifting the PHP community to a higher level, by making great software (which, when he started, was pretty unique, with horrible hacks-upon-hacks like CakePHP being the norm), and by showing people how to do so.
Re: PHP is much better than what you think
#183They have maid a decent progress in 5.4 http://php.net/releases/5_4_0.php http://net.tutsplus.com/tutorials/php/php-5-4-is-here-what-y...
It took more than 10 years and almost 6 major versions of a supposedly quick and easy scripting language to have short array notation? Or binary numbers? Seriously? And this improves your faith that they know what they're doing?
Re: PHP is much better than what you think
#184"PHP is the best web platform ever", because it (finally) has a decent package manager. And don't mind that far fetched statement, the author will surely delete any rude comments. Congrats, PHP has a package manager. This does nothing to shake my feeling that PHP's most ardent advocates have little hands-on experience with the more full-featured alternatives. You know, like the ones that also have decent package mana…
And from what I've been seeing, PHP's most ardent critics have little hands-on experience with PHP, itself.
Edit: see this http://news.ycombinator.com/item?id=4198900 current rambling nonsense I'm having to contend with.
Edit edit: the voting is up and down, I can only assume that ~ 50% of this community just don't care about facts and would rather subscribe to witch hunts.
Re: PHP is much better than what you think
#185ps. I don't mean crontab
Re: PHP is much better than what you think
#186For reference's sake, this article is written by Fabien Potencier, the creator of the symfony framework. This guy's probably single-handedly responsible for lifting the PHP community to a higher level, by making great software (which, when he started, was pretty unique, with horrible hacks-upon-hacks like CakePHP being the norm), and by showing people how to do so.
What's so horrible about CakePHP?
Re: PHP is much better than what you think
#187Do PHP engineers even know what multithreading is? ps. I don't mean crontab
ps. I don't mean sewing shirts.
Re: PHP is much better than what you think
#188Earlier quoted context omitted.
Your code doesn't start with a "<?php" tag?
What does that have to do with SGML?
That's why the LedgerSMB project uses Template Toolkit with tags (that and [% %] causes problems in LaTeX).
Re: PHP is much better than what you think
#189Earlier quoted context omitted.
A great part of Fabien's work is that he pushes people onto the latest releases. Symfony2 cannot be used without PHP5.3 which is great of keeping people's servers more up-to-date. Frameworks such as CodeIgniter were guilty of keeping compatibility with PHP4 for far too long. The world of PHP is a nicer place if you are on the latest version and are aware of the latest features such as namespaces etc.
It's a double-edged sword however. Users stuck on PHP 5.2 will miss out on potential security fixes to Symfony 2. This can potential compound an already bad situation. I'm not saying Fabien didn't have good reasons, more playing Devil's Advocate.
Python will be under the same situation when the big push onto python-3 finishes over the next ten years. The vast majority of applications runs on python-2 (for performance and backwards compatibility reasons), however that is changing.
Re: PHP is much better than what you think
#1901. http://en.wikipedia.org/?=PHPE9568F36-D428-11d2-A769-00AA001...