> PHP doesn't want to become Python or Java or Ruby.
PHP doesn't know what it wants to become. This is part of the problem: for any given question, PHP has multiple answers. That makes code harder to write (which option should I choose here?) and hard to read (this doesn't look anything like my code!) and harder to reason about (how does this feature interact with this other feature?).
> It never intends to have all features taught in programming languages class.
You say this here (and in other comments) as though it were an insult. Is there something wrong with learning? If programming languages are hard to learn then we should make them more accessible, not just throw all the things that make them valuable out the window.
> It will not force you to...
Python does not force any of these things. Nor do Ruby or Perl. It sounds like you like PHP because it's not Java. Surprise: I don't like Java either. Surprise again: that's part of why I don't like PHP. Interfaces, "abstract", private/protected/public, and much of the rest of the OO layer are all clearly inspired by Java.
> Just imagine a world where you can't choose anything.
Who's arguing for this? I imagine a world where the choices are all equally good and you don't get screwed by picking the overpriced underpowered laptop, the underwater basket-weaving class, or the sleazy travel agent.
PHP doesn't know what it wants to become. This is part of the problem: for any given question, PHP has multiple answers. That makes code harder to write (which option should I choose here?) and hard to read (this doesn't look anything like my code!) and harder to reason about (how does this feature interact with this other feature?).
> It never intends to have all features taught in programming languages class.
You say this here (and in other comments) as though it were an insult. Is there something wrong with learning? If programming languages are hard to learn then we should make them more accessible, not just throw all the things that make them valuable out the window.
> It will not force you to...
Python does not force any of these things. Nor do Ruby or Perl. It sounds like you like PHP because it's not Java. Surprise: I don't like Java either. Surprise again: that's part of why I don't like PHP. Interfaces, "abstract", private/protected/public, and much of the rest of the OO layer are all clearly inspired by Java.
> Just imagine a world where you can't choose anything.
Who's arguing for this? I imagine a world where the choices are all equally good and you don't get screwed by picking the overpriced underpowered laptop, the underwater basket-weaving class, or the sleazy travel agent.