Python Forum
Recursion in Python Production Code
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Recursion in Python Production Code
#1
I want to get a picture of whether/when recursion is used in Python code "in the wild." Attempts to gather information on this on Stack Exchange have been met with surprising resistance. I'm hoping people here may be more forthcoming.

The phrase "real-world" examples is ambiguous so I left it out of the title. I want to know to what extent recursion is part of the daily toolkit of professional Python developers. Obviously this depends on context, but I want to get sense of the territory. I'm not interested in how it is used implicitly by libraries and in other "under the hood" ways. Instead I want to hear things like:

f"Today I wrote a program which explicitly used recursion to handle {details of computational task} in order to {business goal which my program aims to further}."

Thanks for any insight you can provide.
Reply
#2
This may be helpful: https://www.python-course.eu/recursive_functions.php
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  what programming language to learn other than python in real mass-production product? Kai 1 2,081 Apr-12-2020, 04:40 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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