Skip to main content

All Questions

4 votes
4 answers
5k views

How do you decide what code to put into a function?

I started out with a script that was a few hundred lines. Later, I realized I wanted another script that would require much of the same code. I decided to wrap certain areas of the original script ...
imagineerThis's user avatar