From: Johnathon Wright Date: 2011-01-18T01:25:20+09:00 Subject: Re: What are your ruby rough cuts ? Found this recently... probably the least intuitive thing I've seen in Ruby ## some base-10 things must be preceded by 0 ruby-1.8.7-p302 > .123 SyntaxError: compile error (irb):4: no . floating literal anymore; put 0 before dot (irb):4: syntax error, unexpected '.' from (irb):4 ruby-1.8.7-p302 > 0.123 => 0.123 ## others can't be preceded by 0 -- ruby-1.8.7-p302 > 0123 => 83 ## meanwhile... you would think it would be the same as... ruby-1.8.7-p302 > "0123".to_i => 123 ## I would prefer that this be configurable... >> ENV['ALLOW_DECIMALS_TO_CONTINUE_TO_BE_DECIMALS'] = :of_course => :) # Also, there would be some easter egg where Ruby responds with Smileys.