3 ms·
Gotta love subroutines without explicit variables, causing comments like: ValidateMove() ' in: ypos, xpos, h, moveDirection ret: invalidMove = 1 or -1 or 2
by dandelany 17y ago
Gotta love subroutines without explicit variables, causing comments like:
ValidateMove() ' in: ypos, xpos, h, moveDirection ret: invalidMove = 1 or -1 or 2 if move is invalid, otherwise 0
If I were a little kid, that would look like Greek to me.
- barrkel 17y agoWhen I was a little kid, I wrote programs in Commodore 64 BASIC (a version of early MS BASIC), and my subroutines couldn't even have names. GOSUB 1060 was an example call, and if you wanted arguments, you put them into globals; and you had two (count 'em, two) significant characters for your variable names.
- rbanffy 17y agoI think the 8-bit BASIC maintains the abstraction level adequately close to the real underlying hardware. What SB does is to make a machine that is capable of things many orders of magnitude better and dumb down the abstraction to match (to a certain degree) what was available on the desktop computers of the 70's.