From: gabriele renzi Date: 2004-04-15T03:39:22+09:00 Subject: Re: Comments on Ruby il 14 Apr 2004 11:24:03 -0700, dejaspam@batkins.com (Bill Atkins) ha scritto:: >I've been using Ruby for about a month now and it's become my favorite >language by far. I don't know if RCR's are still being accepted, but >I know you're supposed to post changes here before submitting. So >here are some things I've noticed. I don't know if any are worthy of >change requests, but here they are. feel free to post rcr to http://www.rcrchive.net the discussion about them happens there as well and is saved for posterity :) >1. def ought to return a Method object. Just because. Having def >return an object adds a little bit of consistency, IMO. I'd prefer a symbol, FWIW >2. Top-level defs should be singleton methods in an Object instance >dedicated to that file. It's messy that a top-level def can be called >on any object. Not sure I understand, if you want methods not in top �level why don't you use a module? >3. The pipes on a parameter list for a do block ought to be optional. > I'm not sure about this one. it makes block impossible to parse, I believe. I suggested removing just one of the pipes and that mad blocks hard to parse anyway :) >5. All special $ variables out to be deprecated or even removed. they will, just not too soon, google for one of the last ruby-dev summaries