From note of Clemens Hintze: > Hi, > > Yukihiro Matsumoto writes: > > Hi, > > [...] > > IMHO the '.to_x' methods could remain as they are! > > [...] > > > > > The another option is to raise exception for non-numeric string at > > every string->integer convsersion. There's no strong reason to return > > zero for non-numeric strings in Ruby. e.g. > > That, I think, is not necessary. Sometimes it is right pretty to have > to_x methods behaving as they do currently! > > [...] Would you give us some examples? Unless "sometimes" == "more often than not", I would strongly prefer raising exceptions for what normally are (or should be) regarded as error conditions. Conrad