News for hackers. Stuff that matters.
Re:PHP 7 Released by sneak on Wednesday December 02, 2015 @08:58AM (#10662913)
Just because a lot of sites run it doesn't mean it's not crap. A lot of companies still host stuff on Windows like it's still 2002, as well.

PHP has no place in modern development.

Re:PHP 7 Released by claar on Wednesday December 02, 2015 @09:38AM (#10663138)
You're not only wrong, you're extremely rude. How many professional PHP developers do you estimate are in the world currently? "no place" indeed.

If you've truly taken the time to understand modern PHP and want to discuss its weaknesses, by all means proceed. Otherwise bashing the professional work of your peers is simply rude.

Re:PHP 7 Released by estefan on Wednesday December 02, 2015 @12:31PM (#10664376)
As I read it he's saying the language is crap not his peers who use it.
Re:PHP 7 Released by ceejayoz on Wednesday December 02, 2015 @02:56PM (#10665393)
"PHP has no place in modern development" implies that peers choosing PHP for new dev are essentially incompetent.
Re:PHP 7 Released by sneak on Thursday December 03, 2015 @02:03AM (#10668216)
Correct, though I would go with "ignorant of the state of the art", though "incompetent" means the same thing.
Re:PHP 7 Released by Killswitch on Wednesday December 02, 2015 @09:23AM (#10663047)
You do realize that the number 2 ranked website on the internet runs on PHP.

Get over your elitest attitude. PHP is a fine language and has it's warrants of use.

Speaking of, 2 days ago marked a year since I last used PHP.

Re:PHP 7 Released by ihsw on Wednesday December 02, 2015 @09:43AM (#10663171)
Are you talking about Facebook? They're transitioning over to Hack.

http://hacklang.org/

As far as I understand, most/all new development is done in Hack.

Granted, a lot of Hack features are starting to make their way into PHP (much like how exciting new TypeScript features are making their way into ES6 and above), but focus has been shifted to Hack.

Re:PHP 7 Released by Killswitch on Wednesday December 02, 2015 @09:47AM (#10663196)
Hack is derived from PHP, they've only tuned the engine for their own usecase, and not to mention anyone in the PHP community can use Hack.

Hack is basically the TypeScript of PHP. Regular PHP works fine on Hack, but you can start incorporating Hack things into your PHP.

If you want to go that route, then my site is actually powered by Babel and not JavaScript.

Re:PHP 7 Released by Shish2k on Thursday December 03, 2015 @07:47AM (#10669260)
> number 2 ranked website on the internet runs on PHP

The frontend is "PHP", but with a replacement engine, a replacement language, and a replacement standard library...

Having written a bunch of facebook-style Hack and wordpress-style PHP, I would personally consider them about as similar as C++ and Java.

Re:PHP 7 Released by sneak on Thursday December 03, 2015 @02:05AM (#10668219)
The number one bank runs FORTRAN. What is the point you are trying to make?