|
|
|
|
|
by core-questions
2127 days ago
|
|
> Not of much use without generics. `array` isn't a particularly useful type. No, but you can do function foo(SomeClass $x) {...} - doesn't that fulfill the use case for most people? Objects are basically fat types, in a sense, no? And since the OOP hierarchy is respected, I can use interfaces or abstract classes here and get basically what I want...? |
|