Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Subroutines

Name: FrozenVoid 2009-06-29 3:10

Function Calls vs Goto vs Define Inclusion Functions
Which you prefer? Personally i prefer Gotos, but use function calls for some tasks which require encapsulation.
I rarely use #define functions  because they complicate debugging and are hard to discern from main code.

Name: Anonymous 2009-06-29 3:43

Lol, this thread reminds me of my first programming language. It was a shitty "BASIC" that was little more than a stripped down high level assembler for a microcontroller. It didn't have proper functions, so I had to pass the arguments into global variables before calling gosub and passed the return values into the same before returning.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List