On Apr 17, 5:02 pm, Michael Torrie <torr...@gmail.com> wrote: > Mensanator wrote: > > I once translated a BASIC program to Pascal (hint: no goto allowed). > > The original code had GOSUBs that never executed a REURN because > > the programmer jumped away to line numbers on a whim. Biggest piece > > of crap I ever had to misfortune to deal with. > > It's clear that you haven't done anything in BASIC since the 80s.
Not hardly, I use VBA every day in Excel & Access. The example I mentioned WAS from the 80's. > And > probably the original poster hasn't either. So let's just clear the air > here. I don't see any need. Of course, you're the one who's view is muddied. > > I haven't seen a "GOTO" in BASIC code in probably almost 20 years, ever > since BASIC gained true structure. Try UBASIC. And I didn't say modern BASICs were like those of the 80's, I questioned why anyone would want to return to such systems as existed in the 80's. > In fact as BASIC is used today, it's > really similar to Pascal, but a lot nicer to work with. And I wasn't refering to that, I was specifically criticizing the jumping to random line numbers within the program. Can't do that in a modern BASIC? Fine, but who's asking for that? The OP. > BASIC is a very > structure language, and in VB, it's also object-oriented, although I'm > sure lots of crap is written in VB. You may shudder at the thought, but > BASIC is very much a modern language now. As I said, I use it (VBA) every day and have probably written more BASIC programs than you've had hot dinners. > If you're bored, check out freebasic.net. Thanks, but I'll give it a miss. > Not that I recommend you use FreeBASIC for anything (nor > do I recommend most languages but python!). > > Spaghetti code can be written in *any* language. It's nothing inherent > to BASIC. I have seen spaghetti python, particularly projects that are > designed around the twisted framework. Tracing execution through > twisted is very painful. Of course, but why would the OP think that someone's trying to make a language that makes spaghetti code easier? > > That said, what the original poster is looking for is very silly. That was my point. -- http://mail.python.org/mailman/listinfo/python-list