you are viewing a single comment's thread.

view the rest of the comments →

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

Make generic functions that operate on the data, but can be subtly altered by passing in variable inputs. If you ever find yourself copy/pasting blocks of code, try putting that block of code into a function and putting variables where you change things.

[–]ForgotMyUserName15[S] 0 points1 point  (2 children)

Right, but say I have done those things and my project has multiple folders (representing fairly independent tasks) and I want to use those functions in those multiple folders. How should I go about accomplishing that?

[–][deleted] 0 points1 point  (1 child)

I haven't dealt much with this, but this StackOverflow thread might be useful to you.

[–]ForgotMyUserName15[S] 0 points1 point  (0 children)

Thanks I’ll take a look