From: "David A. Black" Date: 2009-02-12T23:28:37+09:00 Subject: Re: If you are unhappy with the direction of Ruby 1.8.7+, respond --1926193751-1958932102-1234448999=:24951 Content-Type: MULTIPART/MIXED; BOUNDARY="1926193751-1958932102-1234448999=:24951" This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --1926193751-1958932102-1234448999=:24951 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8BIT Hi -- On Thu, 12 Feb 2009, Yossef Mendelssohn wrote: > On Feb 12, 4:21�am, Charles Oliver Nutter > wrote: >> Bill Kelly wrote: >> >>> From: "Rick DeNatale" >> >>>> As I remember it, Matz didn't want to have a version number like 1.8.10 >> >>> For what it's worth, my recollection is that matz wasn't >>> _conceptually_ opposed to it, but rather it was not considered >>> acceptable to break the existing code in the field which performed >>> version checks based on string compares: >> >>>>> "1.8.9" > "1.8.8" >>> => true >> >>>>> "1.8.10" > "1.8.9" >>> => false >> >> I remember the discussions. I stand by my assertion that this is a bug. > > I don't know about the discussions relating to this behavior, but I > find it dismaying that anyone would seriously say that this isn't > desired string comparison behavior. I mean, these are *strings*, not > anything special. They just happen to contain a certain pattern of > characters. > > Or maybe you meant the bug was that people were comparing strings at > all, which is understandable (though a strange word choice). I think Charlie meant that a version comparison algorithm that didn't understand that ".10" was greater than ".9" was buggy. David -- David A. Black / Ruby Power and Light, LLC Ruby/Rails consulting & training: http://www.rubypal.com Coming in 2009: The Well-Grounded Rubyist (http://manning.com/black2) http://www.wishsight.com => Independent, social wishlist management! --1926193751-1958932102-1234448999=:24951-- --1926193751-1958932102-1234448999=:24951--