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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: "Nasser M. Abbasi" Newsgroups: comp.lang.ada Subject: Re: if-then-no-else Programming Date: Tue, 19 Apr 2016 01:18:27 -0500 Organization: Aioe.org NNTP Server Message-ID: References: <1mlx1gf.ebrae11jak5tyN%csampson@inetworld.net> Reply-To: nma@12000.org NNTP-Posting-Host: GHujeg+S2L5ki3pRAiflyA.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 X-Notice: Filtered by postfilter v. 0.8.2 Xref: news.eternal-september.org comp.lang.ada:30184 Date: 2016-04-19T01:18:27-05:00 List-Id: On 4/18/2016 9:24 PM, Charles H. Sampson wrote: > > Variable := 3; > if then > Variable := 1; > end if; > > In addition to some other goodness attributes, this is supposed to be > clearer than the if-then-else form. > > Is he right? (He's not really a coder. His experience is in wire-frame > animation but he's being forced into coding by the job market.) If he's > not right, have any of you even heard of an area of the software > "profession" where this position is held? > The above is very confusing way to code. I would not recommened it.