Python Forum
shortening an elif construct
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
shortening an elif construct
#10
(Jul-24-2018, 04:50 AM)Skaperen Wrote: but i do want my code to be at least half-way semi-readable.
monstrous if-else and magic numbers like 18446744073709551616 are way from readable... anyway, do what you want...
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Messages In This Thread
shortening an elif construct - by Skaperen - Jul-21-2018, 10:27 PM
RE: shortening an elif construct - by perfringo - Jul-23-2018, 12:25 PM
RE: shortening an elif construct - by ichabod801 - Jul-23-2018, 01:40 PM
RE: shortening an elif construct - by Skaperen - Jul-24-2018, 02:44 AM
RE: shortening an elif construct - by buran - Jul-24-2018, 04:35 AM
RE: shortening an elif construct - by ichabod801 - Jul-24-2018, 04:36 AM
RE: shortening an elif construct - by buran - Jul-24-2018, 04:40 AM
RE: shortening an elif construct - by ichabod801 - Jul-24-2018, 04:41 AM
RE: shortening an elif construct - by Skaperen - Jul-24-2018, 04:50 AM
RE: shortening an elif construct - by buran - Jul-24-2018, 04:57 AM
RE: shortening an elif construct - by Skaperen - Jul-24-2018, 07:06 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Why is the if construct not calculating correctly? egemynet 21 4,060 Mar-21-2022, 01:20 PM
Last Post: deanhystad
  Building command in a looping construct DennisT 3 1,963 Sep-08-2020, 06:32 PM
Last Post: DennisT
  Whats the right way to refactor this Big if/elif/elif ? pitosalas 1 2,284 Jul-28-2019, 05:52 PM
Last Post: ichabod801
  Best construct? Array, class, other? PappaBear 1 3,011 May-10-2017, 06:02 PM
Last Post: nilamo

Forum Jump:

User Panel Messages

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