Great info. I'm on the waiting list for Codespaces
Hi Benjamin, does 2020.4 include Ebedded Python ?
You only need Try-Catch when you expect that something might go wrong and can't handle it upfront.For regular error-handling, something that you anticipate never happens, the $ZTrap-ErrorHandler is much more elegant. It doesn't introduce extra stack-levels and identation.
%Status is an elegant way of letting the caller know something went wrong and leave it to it's discretion to do with it whatever is appropriate, the callee should have done anything to handle the 'error' properly, logging, recovery, whatever. It's a matter of seperation of concerns.
To leave a comment or answer to post please log in
Please log in
To leave a post please log in