7 ms·
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 i
by klyrs 2y ago
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?
- o11c 2y agoThis 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.