From: AdaMagica <christ-usch.grein@t-online.de>
Subject: Re: best practice: error handling
Date: Tue, 31 May 2011 10:57:58 -0700 (PDT)
Date: 2011-05-31T10:57:58-07:00 [thread overview]
Message-ID: <99ac6dae-df9c-4627-ab2c-82f873977cc6@h7g2000yqa.googlegroups.com> (raw)
In-Reply-To: op.vwcvgefflzeukk@jellix.jlfencey.com
On 31 Mai, 19:13, "Vinzent Hoefler"
<0439279208b62c95f1880bf0f8776...@t-domaingrabbing.de> wrote:
> On the other hand, if you want a function to return its result, because it
> looks more natural, you cannot use an "Success : out Boolean", so it may be
> more convenient to raise an exception for errors instead of using an "out"-
> parameter for the result.
Ada 2012 will add [in]out-parameters to functions.
Hope the amendment will soon be finished. Actually this was due in
April, as far as I know. But polishing the text and correcting any
errors introduced is an overwhelming job.
next prev parent reply other threads:[~2011-05-31 17:57 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-31 14:01 best practice: error handling milouz
2011-05-31 17:13 ` Vinzent Hoefler
2011-05-31 17:57 ` AdaMagica [this message]
2011-06-11 13:38 ` Yannick Duchêne (Hibou57)
2011-05-31 18:08 ` Jeffrey Carter
2011-05-31 20:02 ` Dmitry A. Kazakov
2011-05-31 20:35 ` Jeffrey Carter
2011-05-31 21:40 ` Dmitry A. Kazakov
2011-06-11 13:57 ` Yannick Duchêne (Hibou57)
2011-06-11 14:07 ` Dmitry A. Kazakov
2011-06-12 5:19 ` Randy Brukardt
2011-06-11 13:48 ` Yannick Duchêne (Hibou57)
2011-06-11 13:31 ` Yannick Duchêne (Hibou57)
2011-06-11 16:12 ` Simon Wright
2011-06-11 16:26 ` Dmitry A. Kazakov
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox