Re:What I Like About PHP
by arenaninja on Tuesday December 09, 2014 @08:08PM
(#8727036)
I happen to agree, so bring on the downvotes
Some of the PHP criticism is valid, and most of it is valid if we're talking about pre-composer PHP. But with composer, namespaces and traits, PHP can be a lot of fun. Sure, there's no real concurrency support, but so far I'm able to live with that. It's also weakly typed, but there's a LOT of web apps that don't need strong typing. The documentation is a good starting point, but some of the warts will come out in edge cases. The only thing I'm mad about is needle/haystack. I also wish string and array slicing were as easy as they are in python
Some of the PHP criticism is valid, and most of it is valid if we're talking about pre-composer PHP. But with composer, namespaces and traits, PHP can be a lot of fun. Sure, there's no real concurrency support, but so far I'm able to live with that. It's also weakly typed, but there's a LOT of web apps that don't need strong typing. The documentation is a good starting point, but some of the warts will come out in edge cases. The only thing I'm mad about is needle/haystack. I also wish string and array slicing were as easy as they are in python