Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
adsims2001
· 9y ago · 0 comments
Seems overly harsh. Why is the actual code, "len(s)" so much worse than your suggestion of "length(s)"?
Comments
[–]
Fargren
9y ago
And I can't count the times I tried to do s.len() or s.length().
[–]
charles-salvia
9y ago
Of course, s.__len__() actually works.