From: William James Date: 2009-02-13T14:58:38+09:00 Subject: Re: If you are unhappy with the direction of Ruby 1.8.7+, respond David A. Black wrote: > On Fri, 13 Feb 2009, David A. Black wrote: > > > Much, much more has been said about the issues involved in the > > recent version policy than that it's bad to introduce any new > > methods in teeny versions (and that, as far as I can see, has not > > been said). > > A followup to this: > > I think there are two important points to keep in mind. First, it's a > matter of degree, not kind. In other words, no one is saying that > 1.8.7 should be indistinguishable from 1.8.6. It's more the quantity > of change that's at issue. Here's a very crude metric, showing the > results of instance_methods(false) for various classes and modules > across three 1.8 versions: > > 1.8.2 > String: 83 > Array: 71 > Hash: 45 > Range: 15 > Enumerable: 22 > > 1.8.6 > String: 83 > Array: 71 > Hash: 45 > Range: 15 > Enumerable: 22 > > 1.8.7 > String: 91 > Array: 83 > Hash: 47 > Range: 15 > Enumerable: 43 > > (Gotta love Range :-) No, I don't. I enjoy having new methods, so long as the behavior of the old methods is "exempt from mutation".