3 ms·
It does make it very clear that it is just a data structure (state) associated with a class (behavior).
by Grinnz 7y ago
It does make it very clear that it is just a data structure (state) associated with a class (behavior).
- tyingq 7y agoIt'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.