06 Apr 95 23:27, Eric Schonning wrote to Chris Adams:
CA>> general, nope. Someone mentioned RBBS, and that is a good example
ES> i try, when making code that others may look at, to limit gosubs and
ES> gotos to within a sub/end sub. if the gosub or goto is used by more
ES> than 1 other routine then i make it a sub or function. works for
ES> me...
ES> eric
Hello Eric!
I agree, goto and gosub are fine and have their place but in a project like
this, functions and subs would be the disired method. Not only does it make
for easier debuging but I would think easier to maintain the sub/function
library. Easier to test and replace a sub/function if need be and it would
allow he/she, the programmer to contribute a function to the project without
having to understand the entire works. "refering to the likes of RBBS code."
TTYL:
Lou Sanders
--- GoldED/2 2.50.Beta5+
---------------
* Origin: The Basic OutPost System (1:143/333)
|