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

In both languages objects double as arrays, although they do this slightly differently. But the differences are mostly superficial.



PHP also does that, yet doesn't use its arrays for metaprogramming & object orientation (using a separate object system instead).




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

Search: