Y
Hacker News
new
|
ask
|
show
|
jobs
by
adsims2001
3403 days ago
Seems overly harsh. Why is the actual code, "len(s)" so much worse than your suggestion of "length(s)"?
1 comments
Fargren
3403 days ago
And I can't count the times I tried to do s.len() or s.length().
link
charles-salvia
3403 days ago
Of course, s.__len__() actually works.
link