News

Mutable class with a convert-to-immutable-version method The previous pattern is suitable for read-only data whose usage is short-lived (e.g., scoped to a method).
Not sure why there's a hangup about immutable vs. mutable as Python doesn't distinguish them when passing references to them. For the record, this pseudocode demonstrates pass-by-reference.