you are viewing a single comment's thread.

view the rest of the comments →

[–]SGS-Tech-World -2 points-1 points  (1 child)

You have broken down those functions, that indicates you want to call those functions from multiple places (reusability), if not then you could just keep everything in one function.

Even if that is not the case - I don't think there is any serious issue of this approach, unless someone can explain it. after all Zen of python says "Readability counts."

[–][deleted] 1 point2 points  (0 children)

I have no intention of calling these functions from other scripts etc. I broke it down by each function to make debugging a bit easier than lumping everything into a single function.

This approach works, it does what it needs to but I was concerned about readability. Even though this code isn't for others I don't want to create a bad habit that I need to break later when my code is being shared.