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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f25e853f410d55da X-Google-Attributes: gid103376,public From: robert_dewar@my-dejanews.com Subject: Re: Dynamicly declaring arrays (was: Time to join the fold?) Date: 1999/02/02 Message-ID: <7963q0$ail$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 439631842 References: <78abg4$cnc$1@its.hooked.net> <78i8s4$hth$1@its.hooked.net> <78iq2m$br9$1@nnrp1.dejanews.com> <794gg7$ib$1@nnrp1.dejanews.com> X-Http-Proxy: 1.0 x15.dejanews.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Tue Feb 02 05:52:04 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-02-02T00:00:00+00:00 List-Id: In article <794gg7$ib$1@nnrp1.dejanews.com>, dennison@telepath.com wrote: > I'm not entirely sure I can defend this aversion to > declare blocks in a rational way, so if anyone has a > rationale as to why its perfecly acceptable to have > declare blocks liberally sprinkled throught their code, > I'm all ears. Why on earth does it need a rationale to use a feature in the language that is obviously useful and has an ancient and well accepted understanding as useful (blocks were after all in Algol-60). THe principle of using blcoks to make temporaries as local as possible is of course familiar to any programmer in an algol style language. People can have allergies to anything, but a person with an allergy to strawberries cannot reasonably ask a normal healthy person to give a rationale for eating strawberries. In this case we have a thread that clearly shows a use of declare, and the response "that's nice, but I don't like to use declare blocks" is indeed not convincing! -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own