PEP 285: Adding a bool type

Ralph Corderoy ralph at inputplus.demon.co.uk
Sun Apr 7 05:11:07 EDT 2002


Hi John,

> I understood your point the first time. I disagree with it. If you
> want to change the definition of a function to do something else,
> then you may well need to change the name. This is called
> refactoring.

I think we all perfectly understand your opinion too and no matter how
many times you repeat it there will still be some of us that like to do

    a = b + is_movable(c)

where is_movable will only ever return 0 or 1 meaning false or true.
That's because we have experience where this is possible, works well,
and is expressive.  We also have experience of languages where we loose
that simplicity so know we don't want to loose it again.

Just so you know your message is loud and clear  :-)

Cheers,


Ralph.




More information about the Python-list mailing list