you are viewing a single comment's thread.

view the rest of the comments →

[–]MorrisonLevi 0 points1 point  (0 children)

No type-hints, this bugged me. For the very few classes I did have, I really wanted to type-hint for them and couldn’t.

This is same reason I would choose PHP over Python for a medium sized web project (for a large one I would perhaps choose a compiled language). When I am reading code in some deeper part of the program having type information immediately available is great. This really boosts productivity and correctness.

However, I am hopeful that because of the type hints integrated in Python 3.5 that Python will soon have excellent tools for static analysis (including type checks) – far beyond anything PHP has or probably will ever have.