Ean,
> How do you get fine-grained exception handling without try/catch?
With Minilang, you don't. Just do some pre-checks of incoming data (for CRUD operations). Often,
checking incoming data in a consolidated "pre" section can be neater than throwing it all into a
"try" block.
I think most/all CRUD operations are straightforward, and don't require complex
try-catch blocks.
Jonathon
Ean Schuessler wrote:
On Thursday 07 June 2007 01:20:23 am Jacques Le Roux wrote:
It took me some time to got used to Minilang but now I really like it.
Not having to deal with try/catch is one of the feature I like (will
Groovy be able to do such thing ?). Be able to easily deal with the
entity engine is really pleaseant too. Using an XML editor with syntax
completion you do not have to type too much characters (and you can
enjoy copy/paste as everywhere).
How do you get fine-grained exception handling without try/catch?
This said, I agree that Groovy is for sure very interesting...
Well, I guess the moral of the story is that there are different strokes for
different folks!