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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!nntp-feed.chiark.greenend.org.uk!ewrotcd!newsfeed.xs3.de!io.xs3.de!news.jacob-sparre.dk!franka.jacob-sparre.dk!pnx.dk!.POSTED.109.56.251.110.mobile.3.dk!not-for-mail From: Jacob Sparre Andersen Newsgroups: comp.lang.ada Subject: Re: syntaxic exploration Date: Mon, 25 Dec 2017 21:12:37 +0100 Organization: JSA Research & Innovation Message-ID: <87o9mm8t3e.fsf@jacob-sparre.dk> References: <0d33e631-e63d-4346-ac95-5eec72127f4f@googlegroups.com> <0fa75dd5-599b-4a38-a5d4-3151bbe5172f@googlegroups.com> <7c026086-1eee-4c65-9972-6d1f99a709ae@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: franka.jacob-sparre.dk; posting-host="109.56.251.110.mobile.3.dk:109.56.251.110"; logging-data="10000"; mail-complaints-to="news@jacob-sparre.dk" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Cancel-Lock: sha1:XsIn2oA0HV3bQHYkcDA0yW1l91s= Xref: reader02.eternal-september.org comp.lang.ada:49642 Date: 2017-12-25T21:12:37+01:00 List-Id: Mehdi Saada <00120260a@gmail.com> writes: > More importantly, why would anyone use an enumeration type with only > one value ? I don't get it. Because it is planned that there may be more than one value. Or because the type had more than one value, but doesn't have it in the current version of the program. If you look at a program which isn't a teenager anymore, both of those cases can apply. Greetings, Jacob -- "The three principal virtues of a programmer are Laziness, Impatience, and Hubris" -- Larry Wall