If the logic gets too complex, it may be a good id...
# getting-started
r
If the logic gets too complex, it may be a good idea to separate it out into various methods. That should help readability and maintainability.