BASIC vs Python

Gerhard Haering gh at ghaering.de
Fri Dec 17 06:37:55 EST 2004


On Fri, Dec 17, 2004 at 11:49:22AM +0100, Peter Otten wrote:
> Peter Hickman wrote:
> > [..] Basic has progressed much since you last looked at it, time
> > to update your facts. Basic has recursion, it compiles to native
> > code, it has objects, can be event driven and everything else you
> > would expect of a language.
> > 
> > Computing changes too fast to allow you to think you know it all. Keep up
> > to date granddad.
> > 
> > However what basic doesn't have is a portable language definition.
> 
> May you could give us an idea of the current state of basic affairs then by
> translating the following example snippet: [...]

IIRC BASIC does have a portable language definition:
ANSI BASIC, which is the old crap with GOTO and GOSUB that nobody in
their right mind would want to use nowadays ...

I only know about Visual Basic 5.0/6.0 and a little about Visual Basic
.NET and thanks to the .NET standard library it's possible to write
the Python code you gave us in relatively clean VB.NET with the
collections classes.

In VB6, it would an exercise of working around the limitations of the
data structures.

-- Gerhard
-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: Digital signature
URL: <http://mail.python.org/pipermail/python-list/attachments/20041217/2abf932b/attachment.sig>


More information about the Python-list mailing list