From: EGarrulo <egarrulo@gmail.com>
Subject: Re: Handling transactions?
Date: Mon, 27 Jul 2015 11:15:56 -0700 (PDT)
Date: 2015-07-27T11:15:56-07:00 [thread overview]
Message-ID: <40c8dba8-85e9-42e7-8316-96c976531ab4@googlegroups.com> (raw)
In-Reply-To: <9976ca19-a558-4f4e-80d3-a9b37ee07326@googlegroups.com>
On Monday, July 27, 2015 at 6:38:37 PM UTC+2, David Botton wrote:
> EGarrulo, your question is not a language question but a design question. What you want can be done in any language and depending on what you are trying to "roll back" I can think of many many ways to do it. Be specific and I'm sure some of us can offer advice for your project.
Thank you, but mine is a curiosity. I am new to Ada and I am trying to understand how to approach problems the Ada way. My above hypothetical solution mirrors what I would have done in C++, by following the RAII (Resource Acquisition Is Initialization) idiom. It seems to me that Ada offers a similar idiom with its controlled types.
next prev parent reply other threads:[~2015-07-27 18:15 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-27 12:21 Handling transactions? EGarrulo
2015-07-27 14:16 ` Björn Lundin
2015-07-27 14:38 ` EGarrulo
2015-07-27 14:53 ` Simon Wright
2015-07-27 16:38 ` David Botton
2015-07-27 18:15 ` EGarrulo [this message]
2015-07-28 0:10 ` Randy Brukardt
2015-07-28 5:33 ` J-P. Rosen
2015-07-28 6:45 ` Dmitry A. Kazakov
2015-07-28 20:23 ` Randy Brukardt
2015-07-28 2:41 ` Norman Worth
2015-07-29 6:51 ` Jacob Sparre Andersen
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox