Re: What's new in 2.5?

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

>>This would help implementing default routine params, for instance. 
> 
> You lost me. Care to elaborate?
>

A routine whose arglist might need runtime adjustment would be monitored, and 
somme action taken if needed, like:
- if an atom x appears where a sequence is expected,, replace by whatever is 
appropriate, often {x}
- if some parm(s) are missing, give them some predefined values.
etc

Of course, the gook has to be programmed, just like a hook handler in Wondows. 
And it might be shared by various routines, and a routine may not have the 
same handler alwaus, etc.

> 
>>>
>>>Bottom line: you are right, as long as the handler can resume program 
>>>execution. And I'm afraid I read posts in the opposite direction by RC.
> 
> I've already publicly said RC should concentrate on a simple final
> exception handler to allow some degree of cleanup before the program
> terminates (not that I've tried the win32lib thing), before launching
> into full-blown structured exception handling, which is complicated.
> 
> Regards,
> Pete

The 2.5 final cleanup handler IS needed and solves some real problems, but not 
the ones I'm most concerned with.

CChris

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

Search



Quick Links

User menu

Not signed in.

Misc Menu