←back to thread

317 points est | 1 comments | | HN request time: 0.215s | source
Show context
KirinDave ◴[] No.17453884[source]
I hope I'm not the only person who reads this and really, really dislikes this.

If Python's gonna have breaking syntax, why not work on bringing it more in line with other modern languages that don't require special breakout syntax for expressions and rely more on functional features?

Are we still maintaining that lambdas are hard but suggesting expression-scoped variables are easy?

replies(3): >>17454262 #>>17454393 #>>17454442 #
viraptor ◴[] No.17454262[source]
The difference here is that this pattern of get-value-check-it is in pretty much every program longer than a few lines. And possibly in every one using regexes. Missing lambda opportunities are not nearly as easy to point out.
replies(2): >>17455067 #>>17456924 #
1. ehsankia ◴[] No.17456924[source]
Making your whole language and code more complicated just to save one line of code? No thanks. Python to me has always been about clarity and simplicity. If i wanted to write cipher unreadable code, I'd just use C++