Python Forum
Where to suggest python syntax change ?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Where to suggest python syntax change ?
#6
You want to do a syntax change without knowledge about Python?
Bad idea! Also the example is not Pythonic and does not follow the PEP8.

5 + 5 = 10 math operator
# It's the case

5 & 5 = 55 combine operator
# breaks all existing code!!!

5+"string" = error
# is a TypeError
# if you want to do this, use JavaScript

5&"string" = "5string"
# Type Error + this operation is not defined for strings
You request will not only make all existing code invalid, it will weakens the TypeSafety.
Before you make suggestions to change the syntax and behavior, you should learn Python and the history of Python.

I guess the developers get every day this crazy requests to change something.
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
Reply


Messages In This Thread
RE: Where to suggest python syntax change ? - by DeaD_EyE - Nov-18-2019, 08:41 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Please suggest a good Data Science Book alexwazan 3 2,881 Sep-16-2019, 08:05 AM
Last Post: EleenaGates
  Can anyone suggest alternatives to opencv for Python Images readout Spandora 3 3,298 Mar-29-2019, 08:39 PM
Last Post: Spandora
  suggest specific tutorial SchroedingersLion 11 6,467 Oct-11-2018, 09:10 AM
Last Post: Micmilli2

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020