Hi,

The following expressions always return false

nil == 1
1 == "1"
"a" == nil

Most likely, these are programming errors.
such as

"abc"[0] == "a"  (looks familiar ?)

would return false instead of giving an error.

Would it be possible for ruby to stipulate that if the
left hand variable is of type int/string/nil, the
right 
hand should be the same type(requiring explict call to
 to_i, to_s if not)?  It may not look right for OOP,
but seems to be more practical than the current
behavior

Thanks

-Ted

-Ted