| ▲ | f311a 5 hours ago | ||||||||||||||||||||||||||||
PHP becomes a complex language with each update. For what reason? Its application is still limited to the web, mostly. | |||||||||||||||||||||||||||||
| ▲ | mhd 5 hours ago | parent | next [-] | ||||||||||||||||||||||||||||
A lot of C# and Java code is oriented towards web backends, too. Which are quite big and complex. So it seems natural that languages in the same design space (trad OO) converge on similar features. I think the only exception these days is Go. I think these days you could change "You can write Fortran in any language" to "You can structure your code like Spring in any language"… | |||||||||||||||||||||||||||||
| ▲ | nunodonato 5 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
Obviously you haven't heard of NativePhp :) Still, even if it was "just" the web, why wouldn't it evolve? It's a great language, with a big user base, and there's always room for improvements and to increase the developer experience | |||||||||||||||||||||||||||||
| ▲ | Xenoamorphous 5 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
The web is not getting any simpler. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| ▲ | dotancohen 5 hours ago | parent | prev [-] | ||||||||||||||||||||||||||||
I downvoted you before reading the fine article. I'm back to correct that. The new array_first() and array_last() functions are nice, everything else is either reimplantation of existing features or "features"which will make maintainability more difficult. The pipe operator is one such example. I don't need it - these nested methods are not really an issue in any codebase I've seen. The new syntax only works for unary functions, so higher arity functions must be wrapped in an arrow function. It's a mess and more bug prone than just nesting the functions. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||