4 ms·
Seems overly harsh. Why is the actual code, "len(s)" so much worse than your suggestion of "length(s)"?
by adsims2001 10y ago
Seems overly harsh. Why is the actual code, "len(s)" so much worse than your suggestion of "length(s)"?
- Fargren 10y agoAnd I can't count the times I tried to do s.len() or s.length().
- charles-salvia 10y agoOf course, s.__len__() actually works.