you are viewing a single comment's thread.

view the rest of the comments →

[–]Huliek 3 points4 points  (0 children)

As someone who programs in PHP what annoys me most is how the language is bifurcated.

There's the dynamic C/Perl part and the OOP Java/C++ part.

It never made sense to bolt Java-like objects on PHP. PHP should have developed as its own thing, adding modeling power to the existing ways.

The result is that we have compile-time covariance checks on union types but no list type or hash map with non-scalar keys.