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.1 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM,PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,36a29c2860aff686 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news3.google.com!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Warren Newsgroups: comp.lang.ada Subject: Re: Properties Date: Tue, 7 Dec 2010 14:37:02 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <3b84c8e7-1a51-4a7c-9646-119f1fc51478@s4g2000yql.googlegroups.com> <4pnv7nl4cdui$.1n28i7lqk4mek$.dlg@40tude.net> <1k7367gtebsgm$.18auo6u3nfg34.dlg@40tude.net> <618677c8-a44f-443e-9052-a94fb48c999a@s4g2000yql.googlegroups.com> <066181c0-9b80-4c17-a7b4-7ef28a297ea4@e16g2000pri.googlegroups.com> <923f0664-890d-4ca9-9b34-2da64067b068@21g2000prv.googlegroups.com> Injection-Date: Tue, 7 Dec 2010 14:37:02 +0000 (UTC) Injection-Info: mx01.eternal-september.org; posting-host="9f8M0iN5t54V+4DF/iqO8g"; logging-data="3802"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+6KLr0meOvpPhOSBJu4cuIGV5L3hKiqsE=" User-Agent: Xnews/5.04.25 X-Face: &6@]C2>ZS=NM|HE-^zWuryN#Z/2_.s9E|G&~DRi|sav9{E}XQJb*\_>=a5"q]\%A;5}LKP][1mA{gZ,Q!j Cancel-Lock: sha1:LXJ3lM1a8wsmtbQUMx46pRfoSPE= Xref: g2news2.google.com comp.lang.ada:16812 Date: 2010-12-07T14:37:02+00:00 List-Id: Shark8 expounded in news:923f0664-890d-4ca9-9b34-2da64067b068@21g2000prv.googlegro ups.com: >> > I defiantly agree with the Hungarian notation. >> >> followed by >> >> The type declaration carrys the type information. It does >> NOT belong in the name (of the variable). �It creates a � >> maintenance nightmare also -- change the type and all >> instances of the name must be changed. � >> >> BLECH. > > Eh, my mistake, I meant to say "I defiantly agree with you > on the Hungarian notation." Ah, ok... you're forgiven. ;-) >> That is something different. A "file" is a perfectly >> generic container of information. Do you want to allow >> your software to decide the format? Or would you prefer >> the OS to do it instead? �Something must decide. > > Er, I think you misunderstand what I mean by "typed files" > very often "the software" does NOT & should NOT decide the > format; if that were the case then "the software" could say > "my HTML file writer doesn't need ending tags!" or "I don't > need to write the header for an .ICO file!" which misses > the whole point of having a specified standard. > > IOW, the type of a file, having some definition, SHOULD > ensure that the file has the correct layout... like Access > ensures that our "pointer" *IS* to a variable of the > specified type. I guess, I don't understand your point. The software creating the "content" is doing it in a format, which often varies record by record, even in binary (yours is a text example). > Just because everything copies the thinking neither means > that the thinking is correct or useful. (Though it doesn't > mean that it's wrong or useless either.) Agreed, but you have ask why this is "successful". Usually, there are good reasons for it. Then again, C/C++ is a bad counter example. ;-) Warren