blast from the past: ABC.

Warren Postma warren-postma at NOSPAM.rogers.com
Thu Dec 20 19:18:53 EST 2001


Having noted that the programming language ABC is listed in the Open
Directory (dmoz.org), I found this article:

http://www.cwi.nl/~steven/abc/

Hmm.   Wasn't ABC one of the things that Guido worked on that eventually
lead to his developing Python?

How "Pythonic" indeed is this particular code snippet:

HOW TO RETURN words document:
      PUT {} IN collection
      FOR line in document:
	 FOR word IN split line:
	    IF word not.in collection:
	       INSERT word IN collection
      RETURN collection


Warren





More information about the Python-list mailing list