Re: Try/Catch

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

I really don't follow this conversation.

Exception handling is similar to 'goto', just hundred times worse.

Strangely, I don't remember 'exception handling', nor 'goto', existing in PLC programming language (PLC=Programmable Logic Controller). Maybe it's because PLC programming has to deal directly with human lives, while computer programming do not.
I wouldn't put someone's life in the hands of 'exception handler' nor 'goto'.

Exceptions must be treated as error codes returned from routines. Division-by-Zero or Out-of-Bound will occur with or without the presence of Try/Catch in Euphoria, since it's a programmer's fault - not a machine fault.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu