Retry does not work

Hi matz,

thanks for reposting, someone should really fix that bug on ruby garden.

so Guy gave me same answer. i have problem with it. could you look at those and let me know? ( you probably already are :slight_smile:

-t0

Hi,

so Guy gave me same answer. i have problem with it. could you look at those and let me know? ( you probably already are :slight_smile:

I’m sorry; which is your problem? [ruby-talk:85791]?

In message [ruby-talk:85791], you wrote:

were taking about seperation of concerns --that’s not bad design. i
have a library i use for downloading files. i have a user interface
script that uses the library. things happen in the library and if the
user has set verbose more i should be able to report them to the user
without having to write special esoteric message passing code.

“resume” won’t work well unless both your code and the user code know
each other (the user code must care that raise might resume; your code
must know how to fix up the exception cause). In that case, I think
you can make “retry” work, otherwise you can’t make them work well
anyway.

						matz.
···

In message “Re: retry does not work” on 03/11/20, “T. Onoma” transami@runbox.com writes: