comp.lang.ada
 help / color / mirror / Atom feed
From: Dmitry A. Kazakov <mailbox@dmitry-kazakov.de>
Subject: Re: Ada for a programming newb.
Date: Mon, 22 Sep 2003 14:00:11 +0200
Date: 2003-09-22T14:00:11+02:00	[thread overview]
Message-ID: <mgotmv8vl2mlc95fr7b4pasb4j96n6bojs@4ax.com> (raw)
In-Reply-To: %BFab.61$7W4.35@nwrdny03.gnilink.net

On Fri, 19 Sep 2003 15:51:23 GMT, "Frank J. Lhota"
<NOSPAM.lhota.adarose@verizon.net> wrote:

>"Hyman Rosen" <hyrosen@mail.com> wrote in message
>news:4zuab.5439$U6.3722@nwrdny03.gnilink.net...
>
>> When I go to the barber, the result is not a new copy of me with
>> shorter hair. It's the same old me witha side-effect applied.
>
>Actually, the algorithm used by your barber is as follows (in C++)
>
>    CPerson *NewRosen = new CPerson( *HymanRosen );

Yep, each barber has a storage pool in his cellar with a giant
refrigerator where it keeps human bodies to allocate ...

>    NewRosen->CutHair( /* To */ desiredLength );
>
>    delete HymanRosen;

Mmm, I think it is:

HymanRosen->Send (&HannibalLector);

Cutting hairs (at least here in Germany) could not repay the costs of
fresh flesh, so he definitely sells the rests to Hannibal! (:-))

>    HymanRosen = NewRosen;
>
>The reason you never noticed this before is due to the quality of the copy
>method ;)

---
Regards,
Dmitry Kazakov
www.dmitry-kazakov.de



  reply	other threads:[~2003-09-22 12:00 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-14 20:36 Ada for a programming newb Kyle Root
2003-09-14 21:15 ` Larry Kilgallen
2003-09-14 21:29 ` Ludovic Brenta
2003-09-15 14:46 ` Jarimatti Valkonen
2003-09-18 17:31 ` Isaac Gouy
2003-09-18 19:33   ` Luke A. Guest
2003-09-18 20:19     ` Warren W. Gay VE3WWG
2003-09-18 20:30     ` chris
2003-09-19  1:38     ` Mark Lorenzen
2003-09-19  3:17       ` Hyman Rosen
2003-09-19 14:25         ` chris
2003-09-19 15:09           ` Hyman Rosen
2003-09-19 15:12             ` Vinzent Hoefler
2003-09-19 15:13               ` Vinzent Hoefler
2003-09-19 15:42           ` Preben Randhol
2003-09-19 18:00             ` Stephane Richard
2003-09-21  1:16               ` Hyman Rosen
2003-09-19 15:51         ` Frank J. Lhota
2003-09-22 12:00           ` Dmitry A. Kazakov [this message]
2003-09-22 12:04             ` chris
2003-09-22 12:33               ` Dmitry A. Kazakov
2003-09-22 12:28                 ` Stephane Richard
2003-09-22 19:37             ` Jeffrey Carter
2003-09-23  9:30               ` Jean-Pierre Rosen
2003-09-23 17:49                 ` Jeffrey Carter
2003-09-24  9:53                   ` Preben Randhol
2003-09-19  1:44     ` Jeffrey Carter
2003-09-19 13:30       ` Isaac Gouy
2003-09-19  3:09     ` Isaac Gouy
2003-09-19 21:40       ` Luke A. Guest
2003-09-21 15:09         ` Isaac Gouy
2003-09-19 16:34   ` Chad R. Meiners
2003-09-19 23:57     ` Isaac Gouy
2003-09-20  7:20 ` Anders Wirzenius
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox