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

Lists and sets suffer the same drawbacks. If the advice is to not use any of the batteries included if the language, why are we using Python?

If you want an immutable mapping, why not use an enum?



This isn't arguing against them in general, but against the unfortunate Javascript-esque abandonment of specified semantics.

In particular, whenever anyone thinks that "deep clone vs shallow clone" is a meaningful distinction, that means their types are utterly void of meaning.




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

Search: