From: matz@... (Yukihiro Matsumoto) Date: 2004-04-04T23:05:05+09:00 Subject: Re: Any chance to see Exception#resume in Ruby2 ? Hi, In message "Any chance to see Exception#resume in Ruby2 ?" on 04/04/04, gabriele renzi writes: |In the file there is an interesting reference to resumable exceptions. | |Now, I googled for them and found this: |http://www.rubygarden.org/article.php?sid=340 | |A rejected rcr about it. so I wonder what the final word is about |this. I doubt it would be in 2.0, by following reason: * performance: resumable exceptions require "raise" to keep its continuation inside of exception, that might slow down the performance. * break assumption: although resumable exception is interesting idea, I guess so many code assume "raise" not to resume. * can be done explicitly: we can resume to the throw point of the exception by using "retry" or "callcc" explicitly. we don't need to generalize resuming exceptions. NOTE: I'm NOT the believer of the "explicit better than implicit" principle though. matz.