From: matz@... (Yukihiro Matsumoto) Date: 2004-04-04T23:18:59+09:00 Subject: Re: deciding between ruby and python Hi, In message "Re: deciding between ruby and python" on 04/04/04, "David A. Black" writes: |That said, I've also never been 100% sure why String#+ couldn't be |more tolerant -- that is, allow objects to present their #to_s |representations, rather than insisting that they either be Strings or |have a #to_str method. Pre 1.0 Ruby was very tolerant about types: 1 + "2" gave 3, and "2" + 1 gave "21". But this tend to hide the type mismatch error, so that I had to follow the "crash early" principle from Pragmatic Programmers. matz.