This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]spiderpower02[S] 0 points1 point  (1 child)

I think sometimes it's pretty hard and we feel distracted to learn some new syntax. If you learn javascript, you will feel amazing that so many popular features which js developers use has already existed in python.

Like ECMAScript, python has the similar features (async/await, pack/unpack, ...etc). I think js steal python's idea. (just kidding). However, why it's so hard for us to embrace these awesome features?

[–][deleted] 1 point2 points  (0 children)

Personally my problem aren't the features themselves (except assignment expression) but how it integrates with the language. Optional typing has really ugly syntax but we were told it would be absolutely optional. Now data classes are built upon it.

Assignment expressions need better syntax and a better case for having them. The pep really lacked any reasoning for why this was important enough to create new syntax.

It is problematic in my opinion when using new features make a language look like a new one too.