Re:Guido blames social media for his decision to abandon the...
by basic6 on Monday May 06, 2019 @10:29AM
(#19839709)
the := PEP stunk badly of cargo cult programming, you see knee-jerk proposals like that every time a blog makes the rounds and Guido deserved the pushback
[ Parent
| on HN ]
Re:Guido blames social media for his decision to abandon the...
by wyldfire on Monday May 06, 2019 @10:44AM
(#19839864)
I had to look this one up. PEP 572 [1] introduces "the walrus operator". Your claim that it "stunk badly" made me think that perhaps it was proposed and rejected, however it's listed as 'accepted' and among the new features from CPython 3.8. I suppose if you're the BDFL you can get your PEPs approved ;)
AFAICT it allows for optional binding. I suppose it might seem like 'cargo cult' because Rust and Swift have 'if let'?