Live data from Hacker News

PHP 5.5.8 Released

php.net

51–60 of 66 posts

Re: PHP 5.5.8 Released

#51
post #30

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]

If PHP is garbage, every article about PHP should be about PHP being garbage to make sure everyone stays away from PHP.

Re: PHP 5.5.8 Released

#52
post #50

Aaaaaaand 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.

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

#53
post #52
post #50

Earlier 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.

Python and JavaScript are proper and beautiful languages, PHP is a merely a wrapper.

Re: PHP 5.5.8 Released

#54
post #53
post #52

Earlier 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.

Are you trolling?

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

#55
post #53
post #52

Earlier 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.

That is subjective and unrelated to my question, could please give me proper well based answer to the issue that wrote above, or i just have to assume that your claims are based in the examples that i gave in the same and you are just a troll?

Re: PHP 5.5.8 Released

#57
post #32

Earlier 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).

Yes, there are plenty of crap coders and agree with your argument but, again, it's not really the language's problem. Actually, I believe it's quite opposite. It's a side effect of success.

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

#58
post #32

Earlier 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…

I totally agree with you, it's not a perfect language. However, given the nature of 9/10 web applications (CRUD with some relationships between models), it does it's job just fine.

Re: PHP 5.5.8 Released

#59
post #13

PHP 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.

Your judgement kind of sucks.

Re: PHP 5.5.8 Released

#60
post #13

PHP 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?

The Laravel book by Taylor (creator of Laravel) is great for even non-Laravel users. https://leanpub.com/laravel
Post reply on HN