When you can point to a chunk of code that could stand on its own and give it a meaningful name, you've found a subroutine. Make it a subroutine.
In reply to Re: when to use subroutine
by chromatic
in thread when to use subroutine
by convenientstore
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |