DEV Community

Discussion on: What are the great function/method/etc. names in popular libs/languages?

Collapse
 
kungtotte profile image
Thomas Landin

It's not that the name itself is great, but Python's len() keeps reminding me how well thought-out the early Python language was.

One global function with a short but intuitive name that consistently does exactly what you expect it to no matter what data structure you throw at it.