Author flexo_
Recipients
Date 2005-02-22.02:47:56
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
For some reason python coders seem to be unaware of the
fact that Python allows variable names to be longer
than one char - let's have a look at a function from
BitTorrent for example:

def decode_list(x, f):                                
                         
    r, f = [], f+1                                    
                         
    while x[f] != 'e':                                
                         
        v, f = decode_func[x[f]](x, f)                
                         
        r.append(v)                                   
                         
    return (r, f + 1)

I'm not sure about the reasons for this behaviour yet
but I suspect serious brain-damage caused by
indentation-based structuring.

A possible workaround: switching to a sane language
like Ruby.
History
Date User Action Args
2007-08-23 14:29:40adminlinkissue1145950 messages
2007-08-23 14:29:40admincreate