From: "Anders Wirzenius" <anders.wirzenius@pp.qnet.fi>
Subject: Re: Thought this was funny
Date: Wed, 22 Oct 2003 06:26:22 GMT
Date: 2003-10-22T06:26:22+00:00 [thread overview]
Message-ID: <iqplb.42$Su3.16@read3.inet.fi> (raw)
In-Reply-To: bn42kf$ca3@cui1.lmms.lmco.com
"Xenos" <dont.spam.me@spamhate.com> wrote in message
news:bn42kf$ca3@cui1.lmms.lmco.com...
> Reviewing some old code we are converting from Ada 83 to 95, I came
across
> this:
>
> case <boolean expression> is
> when true =>
> <do something>
>
> when false =>
> <do something else>
>
> end case;
>
>
> Kind of made me chuckle a little. The guy how wrote it is Canadian,
so I
> took to calling it the "Canadian If Statement" (not in a cruel way).
>
It could be a maintainer�s first (quick�ndirty) version of a design
change in an old code. The further enhancement of the code was
prohibited by his manager: "ifitaintbrokedonttouchit".
Anders
next prev parent reply other threads:[~2003-10-22 6:26 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-21 19:49 Thought this was funny Xenos
2003-10-21 20:26 ` Ching Bon Lam
2003-10-21 20:44 ` Lutz Donnerhacke
2003-10-21 20:36 ` Ed Falis
2003-10-21 21:08 ` Stephane Richard
2003-10-21 22:16 ` Robert I. Eachus
2003-10-21 22:24 ` Ed Falis
2003-10-22 0:36 ` Robert I. Eachus
2003-10-22 1:37 ` Ed Falis
2003-10-22 3:56 ` Robert I. Eachus
2003-10-22 13:44 ` Ed Falis
2003-10-21 23:13 ` Georg Bauhaus
2003-10-22 0:23 ` Alexandre E. Kopilovitch
2003-10-21 22:23 ` Simon Wright
2003-10-22 2:57 ` Steve
2003-10-22 6:26 ` Anders Wirzenius [this message]
2003-10-22 6:36 ` Vinzent 'Gadget' Hoefler
2003-10-22 12:38 ` Christopher J. Henrich
2003-10-22 15:00 ` Martin Dowie
-- strict thread matches above, loose matches on Subject: below --
2003-10-22 6:44 christoph.grein
2003-10-22 7:31 ` Dmitry A. Kazakov
2003-10-22 8:48 ` Vinzent 'Gadget' Hoefler
2003-10-23 2:17 ` Wes Groleau
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox