Why Python is like BASIC (and why this is a good thing)

Jeff Shannon jeff at ccvcorp.com
Fri Feb 15 20:07:23 EST 2002


Carl Banks wrote:

> Gillou wrote:
> >>
> >> * NO LINE NUMBERS! Enough said.
> > ...
> >>   IF condition GOSUB line-number (I never did understand the necessity
> >>   for that kind of statement until well after I'd stopped using BASIC
> >>   entirely and moved to more "modern" languages like... Pascal).
> >
> > Only old men like you and me remember this
>
> Hi.
>
> I remember using calculated GOSUB, something like this, in GW-BASIC:
> 220 ON LEVEL GOSUB 1000,2000,3000,4000,5000,...
> It was for a crude level-based video game.  I'm 25 now.

I (regrettably) currently routinely use a (proprietary) dialect of BASIC (for
our proprietary database system), in which GOSUB remains the most advanced
control structure.  (And in which, all variables are global.  >shudder< )

Needless to say, I try to spend as much of my time working on the client side
of things, in Python...  :)

Jeff Shannon
Technician/Programmer
Credit International





More information about the Python-list mailing list