From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,715875e575230543 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-21 13:26:20 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsgate.cistron.nl!newsfeed.bit.nl!newsfeed.bit.nl!surfnet.nl!news.utwente.nl!not-for-mail From: Ching Bon Lam Newsgroups: comp.lang.ada Subject: Re: Thought this was funny Date: Tue, 21 Oct 2003 20:26:19 +0000 (UTC) Organization: Universiteit Twente Sender: s0046388@@utwente.nl Message-ID: References: NNTP-Posting-Host: sheep.adsl.utwente.nl X-Trace: netlx020.civ.utwente.nl 1066767979 31329 130.89.226.82 (21 Oct 2003 20:26:19 GMT) X-Complaints-To: abuse@utwente.nl NNTP-Posting-Date: Tue, 21 Oct 2003 20:26:19 +0000 (UTC) User-Agent: Xnews/5.04.25 Xref: archiver1.google.com comp.lang.ada:1318 Date: 2003-10-21T20:26:19+00:00 List-Id: "Xenos" wrote in news:bn42kf$ca3@cui1.lmms.lmco.com: > Reviewing some old code we are converting from Ada 83 to 95, I came > across this: > > case is > when true => > > > when false => > isn't it good programming style to always include "when others"? :) > > 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). > > > DrX > > >