Coding standard: Prefixing variables to indicate datatype

Erik Max Francis max at alcyone.com
Sun Jan 19 21:29:55 EST 2003


Jp Calderone wrote:

>   "A foolish consistency is the hobgoblin of little minds."  -rwe
> 
>   "a b c".split(" ") makes sense.  " ".join(("a", "b", "c")) does,
> too.

He wasn't talking about join, he was talking about split.  He was saying
if JOINER.join(SEQUENCE) returns JOINED, then maybe JOINED.split(JOINER)
should return SEQUENCE.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/  \ Yes I'm / Learning from falling down / Heavily
\__/ Lamya
    Fauxident / http://www.alcyone.com/pyos/fauxident/
 A "faux" ident daemon in Python.




More information about the Python-list mailing list