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

There is so much wrong with this blog post that I don't even know where to begin. He appears to have included Python-specific details in his list of why he hates lists and dictionaries. Apparently Python throws exceptions if a key doesn't exist and seemingly has no Maybe/Option alternative? I don't know if that is true or not.

He claims using lists and dictionaries means you lose encapsulation - does it? A smarter programmer would realise that actually it entirely depends on the _types_ you are storing in those data structures.



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

Search: