in reply to Re^9: Runtime introspection: What good is it?
in thread Runtime introspection: What good is it?

So yes, there is error handling logic, but it is not in that specific module.

I'm not sure what you mean by "that specific module", since neither of us has mentioned any 'specific module'. Wherever you are envisaging (assuming) I'm doing my exception handling, is almost certainly different to where I'm envisaging doing it.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."
  • Comment on Re^10: Runtime introspection: What good is it?

Replies are listed 'Best First'.
Re^11: Runtime introspection: What good is it?
by tilly (Archbishop) on Jul 15, 2008 at 00:35 UTC
    I'm referring to the module that I discussed in Re: Runtime introspection: What good is it?.

    For example in one place in my current reporting framework I have a way that objects from lots of modules can be passed into a particular method in another module. There are several useful methods that they might implement. When I load the first module I don't know what others might exist and I don't know what will be passed in, so I leave the decision as to whether to call the method to run time where I check that the method exists by calling can, and then do one thing if it does and another if it doesn't.

      last word.