God, these comments are awful
I hope that's just mild disgust and not surprise... it's HN. History repeats itself every twelve minutes. [edit]Which is not to say I don't agree with the "PHP is garbage" comments. I just also agree with the "seriously, we read all of this the last three thousand times PHP articles were posted, please shut up" snark.[/edit]
PHP 5.5.8 Released
51–60 of 66 posts
Re: PHP 5.5.8 Released
#52Aaaaaaand cue 250+ comments complaining about PHP, mostly centered around issues that were much bigger in 2009 than they are in 2014...
If most critique centers around issues that have been solved, that doesn't imply that there aren't critique that hasn't been solved. I honestly can't think of a single good reason to PHP these days. Node.js is certainly better, so is Django. The only benefit of PHP is that you can create a small script quickly on a host that you don't control. Therefore PHP shouldn't be considered for anything serious.
Re: PHP 5.5.8 Released
#53Earlier quoted context omitted.
If most critique centers around issues that have been solved, that doesn't imply that there aren't critique that hasn't been solved. I honestly can't think of a single good reason to PHP these days. Node.js is certainly better, so is Django. The only benefit of PHP is that you can create a small script quickly on a host that you don't control. Therefore PHP shouldn't be considered for anything serious.
How are Django and Nodejs better than other frameworks written in PHP like Laravel, Synfony and Yii?. Are your claims base on the fact that one day you hear someone say "yeah, this language/framework is better than PHP" or "this language have better syntax" and follow the trend, because in the web development context, i think that PHP is very capable and useful to accomplish anything related to the it IMO.
Re: PHP 5.5.8 Released
#54Earlier quoted context omitted.
How are Django and Nodejs better than other frameworks written in PHP like Laravel, Synfony and Yii?. Are your claims base on the fact that one day you hear someone say "yeah, this language/framework is better than PHP" or "this language have better syntax" and follow the trend, because in the web development context, i think that PHP is very capable and useful to accomplish anything related to the it IMO.
Python and JavaScript are proper and beautiful languages, PHP is a merely a wrapper.
I can understand the case for Python, but Javascript gets almost as much hate as PHP, and for many similar reasons.
And anyway, logically that suggests the core problem with PHP lies within C, if PHP is just a wrapper. Would you also say C is useless, or not worth taking seriously?
Re: PHP 5.5.8 Released
#55Earlier quoted context omitted.
How are Django and Nodejs better than other frameworks written in PHP like Laravel, Synfony and Yii?. Are your claims base on the fact that one day you hear someone say "yeah, this language/framework is better than PHP" or "this language have better syntax" and follow the trend, because in the web development context, i think that PHP is very capable and useful to accomplish anything related to the it IMO.
Python and JavaScript are proper and beautiful languages, PHP is a merely a wrapper.
Re: PHP 5.5.8 Released
#56Re: PHP 5.5.8 Released
#57Earlier quoted context omitted.
>> PHP has a reputation as a language that makes dead easy to write very ugly sphagetti code. I believe that programmers ability to write poor code is quite language agnostic.
From my personal experience, I disagree. I have seen a greater percentage of poor codes in languages that a lower entry barrier than those that require more initial investment. Most poor coders I've met are lazy coders (in the wrong side of it).
PHP was suitable for new programmers because of how easy it is to deploy, learn. PHP3, the first version of PHP which was widespread, was released during the dot com bubble. When everyone and their mums was into Web. Everyone started writing tutorials, passing their shitty skill set. to new developers. Which produced more crap developers.
Re: PHP 5.5.8 Released
#58Earlier quoted context omitted.
>> PHP has a reputation as a language that makes dead easy to write very ugly sphagetti code. I believe that programmers ability to write poor code is quite language agnostic.
I'd agree that PHP really isn't that bad (at least, from the perspective of someone who started writing web apps using C, Perl, and Java). Some missing or clunky meta/higher level features feel limiting to me, but more or less it seems to be as successful as its other dynamic scripting siblings when it comes to tools devs have used to ship. The big problem with PHP is that it grew to popularity as it grew into a turi…
Re: PHP 5.5.8 Released
#59PHP has a reputation as a language that makes dead easy to write very ugly sphagetti code. As far as I learned a lot has chaned since last time I was using PHP - something like 5 years ago. Is there any good book or other resource which describes modern PHP with best practices, parts to avoid, etc?
In my judgement, PHP best practice is #1 to never write anything new in it. And where it does already exist, #2 is to ideally write replacements (or do an incremental migration) in something else with a better overall balance of positive to negatives, that fits best, typically Python, Java, C or a sh.
Re: PHP 5.5.8 Released
#60PHP has a reputation as a language that makes dead easy to write very ugly sphagetti code. As far as I learned a lot has chaned since last time I was using PHP - something like 5 years ago. Is there any good book or other resource which describes modern PHP with best practices, parts to avoid, etc?