News for hackers. Stuff that matters.
Re:Programmers are confessing their sins to protest a broken... by adsims2001 on Tuesday February 28, 2017 @04:36PM (#13758163)
Seems overly harsh. Why is the actual code, "len(s)" so much worse than your suggestion of "length(s)"?
Re:Programmers are confessing their sins to protest a broken... by Fargren on Tuesday February 28, 2017 @04:50PM (#13758346)
And I can't count the times I tried to do s.len() or s.length().
Re:Programmers are confessing their sins to protest a broken... by charles-salvia on Tuesday February 28, 2017 @06:18PM (#13759230)
Of course, s.__len__() actually works.