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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM 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!postnews.google.com!e16g2000pri.googlegroups.com!not-for-mail From: Shark8 Newsgroups: comp.lang.ada Subject: Re: Properties Date: Fri, 3 Dec 2010 12:07:42 -0800 (PST) Organization: http://groups.google.com Message-ID: <066181c0-9b80-4c17-a7b4-7ef28a297ea4@e16g2000pri.googlegroups.com> 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> NNTP-Posting-Host: 174.28.198.93 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1291406862 16628 127.0.0.1 (3 Dec 2010 20:07:42 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 3 Dec 2010 20:07:42 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: e16g2000pri.googlegroups.com; posting-host=174.28.198.93; posting-account=lJ3JNwoAAAAQfH3VV9vttJLkThaxtTfC User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 ( .NET CLR 3.5.30729; .NET4.0E),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:16751 Date: 2010-12-03T12:07:42-08:00 List-Id: On Dec 3, 8:49=A0am, Warren wrote: > Robert A Duff expounded innews:wccvd3bu37w.fsf@shell01.TheWorld.com: > > I really hate MS software design. =A0Every API item is shoe > horned into a WORD, DWORD or some basterized pointer to some > such. =A0Why couldn't they take the time to put some real C++ > types (if they're going to use C++) around these things? =A0 > Cheeze Louise! =A0And drop that Hungarian notation, for crying > out loud. > > Warren I defiantly agree with the Hungarian notation. The argument could be made that if they were going to spend the time/ energy to use "real C++ types" they would have been better off doing it in Ada where the strong typing would help; IMO, C++ encourages the disuse/misuse of types. I agree with you about the WORD, DWORD, pointer thing. It would be better to have actual types with actual parameters/fields... but then the same could be said about the 'typless' FSes for *nix and windows; instead of treating every file as a bag-o-bytes it would be better to have the files-themselves store that information -- yes, the latter method makes it 'harder' for you to open that midi file with notepad so you can do a quick "hex"-edit... but it also means that users can't screw up your system by forgetting the extension in a rename [win] or forcing the OS to run some file-checker on the file to determine its type.