This is Jguty's Typepad Profile.
Join Typepad and start following Jguty's activity
Join Now!
Already a member? Sign In
Jguty
Recent Activity
In the quest towards modern applications, decoupling your logic is key for achieving flexibility and maintainability. This technique is much better than sending back an "error code" in a parameter and hopping that the calling program checks it after the call. I don't like to create components that need to be aware of who is going to use them or that deppend on external documentation, because I have found that it creates tight coupling. This technique allows me to create ILERPG methods (aka.procedures) that would "throw" an exception messages so I can be sure that the calling program is aware of the exception and obligated to handle it accordingly. I'm also signing @jacobus' wish list and hope to soon see this features as native functions of ILERPG. Nice article!
Toggle Commented Mar 21, 2012 on RPG Exception Handling at PowerUp
1 reply
Jguty is now following The Typepad Team
Mar 21, 2012