Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
syntactic sugar
#2
(Sep-04-2018, 07:11 PM)Skaperen Wrote: what is the principle for these decisions?
There was long discussion about this topic for many year.
It's relative easy to solve all this without adding stuff to the language,so all suggestion was rejected.
PEP 3103 -- A Switch/Case Statement

Quote:Author: guido at python.org (Guido van Rossum)
Status: Rejected
Created: 25-Jun-2006
Why isn’t there a switch or case statement in Python?
PEP 275 -- Switching on Multiple Values
Reply


Messages In This Thread
syntactic sugar - by Skaperen - Sep-04-2018, 07:11 PM
RE: syntactic sugar - by snippsat - Sep-04-2018, 07:43 PM
RE: syntactic sugar - by Gribouillis - Sep-04-2018, 08:47 PM
RE: syntactic sugar - by Skaperen - Sep-05-2018, 04:54 AM
RE: syntactic sugar - by Gribouillis - Sep-05-2018, 05:27 AM
RE: syntactic sugar - by Skaperen - Sep-06-2018, 02:25 AM
RE: syntactic sugar - by Gribouillis - Sep-06-2018, 04:39 AM
RE: syntactic sugar - by Skaperen - Sep-08-2018, 12:40 AM
RE: syntactic sugar - by Gribouillis - Sep-08-2018, 04:35 AM
RE: syntactic sugar - by Skaperen - Sep-08-2018, 11:24 PM
RE: syntactic sugar - by ichabod801 - Sep-08-2018, 11:37 PM
RE: syntactic sugar - by Skaperen - Sep-09-2018, 05:17 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  what is your opinion of this syntactic sugar idea? Skaperen 8 4,659 Nov-28-2018, 03:15 AM
Last Post: Skaperen

Forum Jump:

User Panel Messages

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