←back to thread

122 points phsilva | 1 comments | | HN request time: 0s | source
Show context
thunkingdeep ◴[] No.43110710[source]
This does NOT mean Python will get Tail Call Optimization, as Guido cannot be shown The Light, and has decided.
replies(4): >>43110815 #>>43110832 #>>43111490 #>>43112657 #
ehsankia ◴[] No.43110832[source]
Guido is no longer BDFL though, it's the steering committee that decides.
replies(2): >>43110980 #>>43111674 #
riffraff ◴[] No.43111674[source]
the steering committee seems way less conservative than Guido, right?

Looking at python from the outside a lot of changes since GvR stepped down seem like stuff he'd not have been fond of.

replies(2): >>43111761 #>>43111923 #
pansa2 ◴[] No.43111761[source]
Any examples? The biggest change since Guido stepped down has been the addition of pattern matching, which he was strongly in favour of.

Moreover, Guido is in favour of ongoing addition of major new features (like pattern matching), worrying that without them Python would become a “legacy language”:

https://discuss.python.org/t/pep-8012-frequently-asked-quest...

replies(2): >>43111975 #>>43112019 #
pinoy420 ◴[] No.43111975[source]
Pattern matching seems like a cool feature that was added just because it was cool. I think the syntax is really odd too - apparently to “be pythonic”. I really see no use for it other than to “look smart”. The fact that case match (switch case is a much better description) is expanded to practically a huge if else is disturbing. Similarly the walrus operator. Other than an answer to “what is a new feature of python that you like” interview trivia question, really, who has actually used it?
replies(3): >>43112467 #>>43113858 #>>43115920 #
1. Qem ◴[] No.43113858{3}[source]
> Similarly the walrus operator. Other than an answer to “what is a new feature of python that you like” interview trivia question, really, who has actually used it?

At least in my case I use it all the time, to avoid duplicated operations inside comprehensions.