|
|
|
|
|
by mikey_p
5369 days ago
|
|
I won't argue that PHP is getting long in the tooth, has a somewhat unclear future, and some of the standard lib is hella inconsistent, but these points: then what PHP is lacking is lambdas and method chaining. Does the author know anything about PHP at all? As far as I can tell method chaining has been available as long as PHP supported OOP and Anonymous functions have been supported for several years since PHP 5.3 was released. This makes it really hard to take the author and the article seriously. |
|
The author doesn't know about any other languages either, it seems.
I stopped reading when he argued that PHP's assocative arrays was an advantage; hashes/dictionaries are in all the scripting languages. (Afaik, they come from AWK by the way of Perl, anyway -- they were created many years before PHP existed.)