Python Forum
feature request: ternary fallthroughs
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
feature request: ternary fallthroughs
#23
I vote against the fallthrough because of import this.

Readability counts! In Python when you have this structure
if ...:
   ...
else:
   ...
you can be 100% certain that if the program runs the 'if' part, it doesn't run the 'else' part. Changing this would force the reader to examine every 'if' block to the tiniest detail. It breaks the clarity that made this language's success. No, No, No!
Reply


Messages In This Thread
feature request: ternary fallthroughs - by rexrf - May-05-2021, 12:57 PM
RE: feature request: ternary fallthroughs - by Gribouillis - May-06-2021, 08:52 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  python on a ternary computer Skaperen 0 1,616 Jun-20-2020, 02:21 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