zlacker

[parent] [thread] 8 comments
1. jesusp+(OP)[view] [source] 2022-12-08 15:16:47
People still use PHP? Let this horrible language die already. It's banned internally at AMZN for a reason
replies(2): >>effica+k1 >>megous+Fp
2. effica+k1[view] [source] 2022-12-08 15:23:26
>>jesusp+(OP)
PHP has been pretty good for a long time now. PHP 7 was released in 2015. It's a vibrant and living language that now has a very nice type system and a super-fast JIT. Most of what people hate about PHP is from PHP 4, even 5.6 was pretty solid. Let this horrible meme that PHP sucks die.
replies(1): >>jesusp+B4
◧◩
3. jesusp+B4[view] [source] [discussion] 2022-12-08 15:39:11
>>effica+k1
It's not a meme, it's backed by empirical data. It's banned for security reasons internally at AMZN, not without due diligence
replies(2): >>tonyjs+l7 >>effica+1e
◧◩◪
4. tonyjs+l7[view] [source] [discussion] 2022-12-08 15:49:28
>>jesusp+B4
Is C banned then too? And the use of npm?
◧◩◪
5. effica+1e[view] [source] [discussion] 2022-12-08 16:15:47
>>jesusp+B4
again, there were definitely huge problems with PHP prior to 5.6 and 7, but the flaws in the language that made it a security nightmare have been gone for about 10 years (at least). Now the main problem is that it's still used as a dynamically typed language with some type coercion and juggling that can lead to unexpected behavior.

But you can use strict_types! With strict types, PHP 8+ is a very nice language.

6. megous+Fp[view] [source] 2022-12-08 17:06:28
>>jesusp+(OP)
You say it like some internal decision of some unnamed nobody at "AMZN" is some standard of excellence, or whatever.
replies(1): >>jesusp+wv2
◧◩
7. jesusp+wv2[view] [source] [discussion] 2022-12-09 06:45:55
>>megous+Fp
more like the entirety of the company (Amazon + AWS) following the guidance of an unnamed "nobody" is, in fact, a standard of excellence :)

I challenge you to find PHP deployed in production in any Amazon service

replies(2): >>antifa+2A3 >>megous+X14
◧◩◪
8. antifa+2A3[view] [source] [discussion] 2022-12-09 15:39:49
>>jesusp+wv2
I will SSH into amazon and check right now.
◧◩◪
9. megous+X14[view] [source] [discussion] 2022-12-09 17:44:30
>>jesusp+wv2
That's irrelevant to anyone not working at Amazon.
[go to top]