[Python-ideas] English builtins for Python
Steve Howell
showell30 at yahoo.com
Wed Jun 20 03:35:13 CEST 2007
I somewhat tongue-in-cheekly propose to make the first
seven most common English words all integral part of
the Python language (three already are):
source: http://www.world-english.org/english500.htm
1 the:
Singletons:
the class Logger:
# ...
2 of
inheritance:
class Square of Shape::
# pass
3 to
printing:
print('hello world') to sys.stdout
4 and
already a keyword
5 a
introspection:
if object is a dict:
# ...
6 in
already a keyword
7 is
already a keyword
Then it gets tougher:
8 it
9 you
10 that
Top 500 words that are already
keywords/builtins/conventions in Python:
27 or
49 each
55 if
189 try
198 self
251 open
254 next
Top 500 words that are already keywords in some
languages:
25 this
52 do
68 long
Top 500 words that should NEVER be keywords:
78 could
81 did
180 men
252 seem
435 oh
Words that seem like they'd be part of a programming
language, but maybe a bad idea:
74 has
82 my
120 every
148 too
____________________________________________________________________________________
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
http://farechase.yahoo.com/
More information about the Python-ideas
mailing list