O'Reilly logo
  • Doug DesCombaz thinks this is interesting:

If you need to define a length function in your code, you’d better hope that you aren’t accidently overwriting another length function written in one of the many other libraries you’re using.

From

Cover of Get Programming with Haskell

Note

True technically, but it's a typical strawman argument made when comparing languages. The first rule seems to be: "Always show a really bad practice that is possible in the other language, but never compare against commonly used best practices." The second optional rule seems to be: "Always compare an older version of the other language compared to the latest version of yours."

Sure, people could write root scoped length() functions, but if they are using multiple libraries, then they are always isolated from each other.