Hacker News new | past | comments | ask | show | jobs | submit login

> Which is why PHP is so much less flexible than JS.

When running, I want enough flexibility to move freely but not so much that my knees break. When programming, I'd like to rely on "undefined" not being 6, and I'd even like to have a reasonable built in dictionary type that other code can't extend to add keys to by default, or overwrite "hasOwnProperty".




I never claimed that JavaScript was better, just more flexible. I agree that all the things you mentioned are pain points with JS.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: