2 ms·
> I don't know what, but evidence (Wikipedia, Facebook, Yahoo, Digg, Wordpress, Drupal...) seem to say that there is something PHP is doing significantly better
by rcoder 18y ago
> I don't know what, but evidence (Wikipedia, Facebook, Yahoo, Digg, Wordpress, Drupal...) seem to say that there is something PHP is doing significantly better than all of these.
I think that PHP is doing precisely what I said it was good at: wrapping high-performance C libraries with a higher-level syntax for doing fast dynamic web content generation.
It's not a good systems language, and features trying to make it more like one always feel a bit "bolted-on."
> For something to be useful it doesn't have to be useful for everyone who use the language.
Actually, changes to core language syntax aboslutely need to be considered in light of their relevance to the entire user community, not just the most experienced developers.
Most programmers spend far more time reading code than writing it. If you increase the complexity of a language, (note: I mean semantic complexity here, not syntactic) you increase the difficulty involved in reading it.
In my not-so-humble opinion, PHP works when aimed at the lower end of the semantic complexity scale. Trying to turn it into a general-purpose language for "programming in the large" seems a rather unfortunate use of energy, given (as you pointed out) its obvious success in its existing niche.