What we've been discussing with Guille is that sometimes the 'type checking' (or actually, the conversion) is done, and sometimes not.

For example:

5 + true

true does not understand 'adaptToNumber:andSend:', so no magic conversion is done, but strings understand that message so we get things like:

5 + 'foo' = 5

This should be consistent regardless the type of the parameter.

Cheers,
Carla


On Tue, Aug 24, 2010 at 5:10 PM, Guillermo Polito <guillermopolito@gmail.com> wrote:
Do we reeeeeally want to do

5 + '4'

5 + 'hello'

?