Coding standard: Prefixing variables to indicate datatype

Erik Max Francis max at alcyone.com
Mon Jan 20 03:29:55 CET 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