There's nothing wrong with your ideas if you were designing a language from
scratch. However, Python has a long history and many tools and uses for the
same operators you are considering. And even has a current "insert"
operator (slice assignment).

When adding a new feature, you need to consider if you're duplicating
current functionality and if a 2nd "obvious" way is worth breaking the Zen.

Also, consider whether your "intuitive" design is following or breaking a
de-facto standard established elsewhere in the language.

For example, if you're making a file format decoder, you should create
functions "load" and "dump" to behave like every other file format decoder
module. Don't re-invent or we'll end up with too many "standards" and the
language will become hard to remember.

In case I need to clarify:
1. You're duplicating current clear and more flexible syntax.
2. Your proposed operators are confusing when compared with their meanings
elsewhere.
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to