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

It does make it very clear that it is just a data structure (state) associated with a class (behavior).



It's also pretty neat that you can bless any type as an object. People use the hash most often for obvious reasons, but you can use a scalar/string, array, etc, if you wish.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: