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

Sure, hash maps hide lots of internal state which isn't relevant to outside code.

Where things would get silly is if you tried to make all state internal. But that's what some purist OO approaches would do for business objects.



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

Search: