strong typing and error handling
- Posted by Peter Willems <peter at integratedmoves.com> Jun 27, 2003
- 407 views
Maybe I'm shooting myself in the foot here, but.... One of the things in Eu that I really like is the rule-like variable typing that let us set boundaries for a variable. But it seems to me that the absense of an error-handler makes this close to useless because when I try to load a value into a variable that is outside it's boundaries, it exits the app with an error message. Thus I need to have my app check anyway when putting values into vars to prevent my app from exiting, so when I have to check var boundaries myself, what does the option to set boundaries when defining a var does for me ? Or do I mis something and IS it possible to capture boundary overflow (or underflow) in a simple way so I can write a simpe error-handler ? Hans Peter Willems