Wouldn't an anonymous hash provide for/enforce encapsulation, a basic OOP concept?
James
Update2:Thanks for the explanation. As always, I have more reading to do! My thought was that naming the hash would create a symbol table entry that would allow direct access from the outside, not that you would want to or should do that.
In reply to Re: Anonymous Hash in Constructor
by jmlynesjr
in thread Anonymous Hash in Constructor
by puneet.keswani
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |