in reply to organizing program structure
You must have misheard. Look at some perl libraries or the scripts in the tutorial section of this site. You will find lots of subroutines.
There is a general "hatred" of goto, yes. But advice to not use goto was already voiced more than 20 years ago when bad programming style was prevalent in the old programming language BASIC. No matter what language you will use (except for machine language) you will get warned about using goto. goto was the first symbol of bad programming and it still is an (almost sure) sign for bad code
But that has nothing to do with subroutines. We love subroutines. Subroutines are your first line of defense against unmanagable unreadable code
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: organizing program structure
by JavaFan (Canon) on Jul 22, 2010 at 22:20 UTC |