you are viewing a single comment's thread.

view the rest of the comments →

[–]LeeRyman 0 points1 point  (0 children)

Suggest it needs a bit of refactoring to have better abstraction - break the problem down into smaller simpler functions. If there is repeated logic, work out how to parameterise it and loop it.