Re: Try/Catch

new topic     » goto parent     » topic index » view thread      » older message » newer message
jimcbrown said...
Spock said...

SSC will continue program execution whenever an event occurs so it means no change is needed to existing programs - apart from a single if/then test at a sub-program boundary if the coder wants to take advantage of it.

The same is true of delete_routine() - just manually wrap each get call to each library with delete_routine(). I don't see how this is any harder than placing an if/then around it.

Spock said...

The coder does have to rewrite parts of existing libraries [to take advantage of exceptions].

Not so with try..catch..finally. You don't even have to use delete_routine().

I don't think we're understanding each other here. I won't have to change a single line in my libraries in order to use SSC. With try/catch I would - as you just told me I'd have to do wrapping with delete_routine() which I don't believe will be such a trivial task.

Spock

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu