[Python-Dev] For review: PEP 285: Adding a bool type

Jason Orendorff jason@jorendorff.com
2002年3月10日 22:25:57 -0600


Greg Ewing wrote:
> Jason Orendorff wrote:
> > C99: true false
> > C++: true false
> > C#: true false
> > Java: true false
> > JavaScript: true false
> > 
> > (I can't find other case-sensitive languages with boolean types
> > to compare.)
>> Modula-2: TRUE FALSE
>> :-)

Indeed! But this is another argument in favor of "true" and "false",
of course, because all Modula-2's keywords are UPPERCASE and all
Python's keywords are lowercase. (Likewise, in VB All Keywords
are Capitalized, so it makes sense to write True and False.)
## Jason Orendorff http://www.jorendorff.com/

AltStyle によって変換されたページ (->オリジナル) /