←back to thread

317 points est | 2 comments | | HN request time: 0.431s | 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 #
_diyu ◴[] No.17454393[source]
Speaking as someone whose first dynamic language was python, it’s full of weird inconsistencies and I have no idea why anyone voluntarily chooses it when teaching programming. Granted all languages have warts, but people say python is easier to learn programming concepts in than other languages and I just don’t see it. I think they just mean the indentation syntax discourages confusingly indented code?
replies(1): >>17454444 #
icebraining ◴[] No.17454444[source]
What would you choose?
replies(3): >>17454474 #>>17454500 #>>17455322 #
1. amorousf00p ◴[] No.17454474[source]
C of course.
replies(1): >>17455039 #
2. KirinDave ◴[] No.17455039[source]
Why do you advocate such violence?