DEV Community

Discussion on: What was the most irritating quirk for you when you learned another language or stack?

Collapse
 
misobelica profile image
Mišo

Yes, this is pretty annoying. It was designed like this because you can apply str.join to every iterable object, not only array. The same way as len(iterable) is not specific to array but generic and that's why it's not a method of the array like array.len().