Python Forum
right now a goto would be useable
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
right now a goto would be useable
#1
i'm deep in a bunch of if clauses and a couple of for loops and my test detect a condition where i need to set up the dictionary to be returned then return. it's kind of like error handling or resource cleanup. there are too many variables it needs to make that setup code be another function. maybe i can wrap this in a big try/except.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
right now a goto would be useable - by Skaperen - Jul-09-2020, 04:24 AM
RE: right now a goto would be useable - by DeaD_EyE - Jul-09-2020, 07:49 AM
RE: right now a goto would be useable - by ndc85430 - Jul-09-2020, 12:02 PM
RE: right now a goto would be useable - by Skaperen - Jul-10-2020, 12:49 AM
RE: right now a goto would be useable - by Skaperen - Jul-10-2020, 06:27 PM
RE: right now a goto would be useable - by voidptr - Jul-25-2020, 05:23 AM
RE: right now a goto would be useable - by Skaperen - Jul-26-2020, 12:25 AM

Forum Jump:

User Panel Messages

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