|
|
|
|
|
by jwdunne
2148 days ago
|
|
There’s a few issues with this post. It starts off great but falls down hard. For one, PHP did not start out object oriented. Nor did it come with an IDE. Sure, it was dynamically typed (unlike Java). If I recall, it was 1994 too but I can’t be sure. It was only PHP4 that added an abomination of a class system that motivated the current object system in PHP5. In fact, the problems with PHP have more to do with that pattern: creating abominations that motivate the development of something that isn’t a total abomination (often whilst retaining said abomination for a while). And, as others have said, small “libraries” is exactly why the todo app needs 13k NPM packages. I say “libraries” but you can’t call them that. I mean where’s the analogy? A library of one function? Behave |
|