Re:I'm Not Mutable, I'm Partially Instantiated (Prolog)
by harrisi on Thursday November 07, 2024 @04:57PM
(#42081544)
I think I'd call this destructuring, as opposed to patterns and matches, and Python still does it, just not in the function head.
I do wish they went the opposite direction and made the feature better instead of keeping it as a weird assignment thing in the body. The match statement is a similarly unfortunate solution, in my opinion.
I do wish they went the opposite direction and made the feature better instead of keeping it as a weird assignment thing in the body. The match statement is a similarly unfortunate solution, in my opinion.
Oh well. :)