I designed my own coding style to answer this issue for myself. Mine is the "main is the last code in the file" option, as already suggested by others.
I upvoted this for one reason: seeing someone work through an issue and find an appropriate, personally meaningful, solution is always a good thing!
Lee Crites
lee@critesclan.com
In reply to Re: Main routines, unit tests, and sugar
by lee_crites
in thread Main routines, unit tests, and sugar
by stephen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |