Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.




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

Search: