in reply to Re^2: Main routines, unit tests, and sugar
in thread Main routines, unit tests, and sugar
Then I just hit ^END and I'm there. (Unless I have a large __DATA__ section, in which case ^F__DATA__ takes me there.)
The main advantages of subroutines at the top is that it avoids accidental closures and the need for pre-declarations for prototype checking.
But I realise that it is a personal preference thing.
|
---|