From: "WILLS, JAMAL A" Date: 2013-02-16T02:49:02+09:00 Subject: Re: so, what's the proper way to replace funcionality of GOTO ? I think GOTO gets a bad rap. Actually, I find the COMEFROM command far more terrifying. It's mentioned in the comments... Jamal -----Original Message----- From: Ryan Victory [mailto:ryan@raptormail.net] Sent: Friday, February 15, 2013 12:03 PM To: ruby-talk ML Subject: Re: so, what's the proper way to replace funcionality of GOTO ? I did consider jokingly showing the "enable jokes" compiler flag that turned on the __goto__ method...I'm actually slightly horrified that Ruby has anything resembling goto for hopping around in code. I'll concede that I did not know about this, however I'll stand by the idea that it's terrible coding practice (except for in very particular circumstances where goto is the most elegant solution). Either way, your original suggestion is just bad advice. I'll stand by that. -Ryan On 2/15/13 10:56 AM, Love U Ruby wrote: > Ryan Victory wrote in post #1097114: >> Love U Ruby: I'm really not sure what you meant by that response, but >> it's irrelevant and inaccurate (there is no catch in Ruby, it's >> rescue)... >> > before going to challenge other you should "GOOGLE" - here I did for > you. > > Please read it : http://www.devalot.com/articles/2012/03/ruby-goto >