10 things to be aware of in 1.8 -> 1.9 transition

Hi --

···

On Fri, 16 Jan 2009, Phlip wrote:

I'm not really dealing with 1.8.7 in my book (nor much in general).

The problem with that theory that certain Rails sites (I'm not naming any names!) run 1.8.7 on their servers, for the latest patches, but their developers still use 1.8.6 on their workstations, for all the mature tools...

I'm not directly concerned with Rails in the book (The Well-Grounded
Rubyist is descended from, but not the same as, Ruby for Rails), and I
think most people are focused on the 1.8.6-to-1.9.1 transition.

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!

David A. Black wrote:

But that isn't going to break any existing code, and I believe the main
thrust of this article is changes to be wary of - although some aren't
in that category, like def foo(a,*b,c).

Yes -- that one and the ordered hash one are a bit out of step with
the overall idea of the post. I guess I just include them among the
new stuff in almost any context out of habit.

BTW, I think the blog post should link to the presentation by David
Thomas and yourself:
http://rubyconf2008.confreaks.com/ruby-19-what-to-expect.html

I watched this a while back and enjoyed it, but had to search hard to
find it again.

···

--
Posted via http://www.ruby-forum.com/\.

Well, my whole book is about 1.9 :slight_smile:

David

···

On Fri, 16 Jan 2009, Phlip wrote:

David A. Black wrote:

It's cool but it doesn't belong on the original list, because it's not
something that might make your existing code fail to work, which is
(mostly :slight_smile: what the list is. The mention of ordered hashes is
questionable on those grounds too in fact.

Maybe we need two lists:

- warnings, gotchas, and incompatibilities
- new conveniences and benefits

--
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!