Reply to post:

Python creator Guido van Rossum sys.exit()s as language overlord

JLV Silver badge

Too bad. I've chatted with Guido twice and he is really a very nice, unassuming person. And you can tell that he is also quite engineer-curious - him and his posse got sidetracked wondering about snow load vs roof slope (or something like that). Just geek-ish fun, not at all business types.

PEP 572? I took a short look at it and didn't get till I saw what @Thames had posted. I have wished in the past to reuse filter-side expression. It's nice, maybe a bit syntaxic sugar rather than core need. If it's really expensive computation you can always do it in 2 lines.

result = [f(x) for x in input]

result = [x for x in result if x]

I guess maybe the pushback was concern that too much special casing of stuff and symbols ends up PERL-ing things up?

Suppose it's all for the best though - the language will need to transition to another governance one of these days anyway.

BTW, for those who just don't get it: liking Python does not mean a dislike of C. Quite the opposite, matter of fact.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Biting the hand that feeds IT © 1998–2019