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.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109fba,ef0074ec236ba6e3 X-Google-Attributes: gid109fba,public X-Google-Thread: 103376,b19fa62fdce575f9 X-Google-Attributes: gid103376,public X-Google-Thread: 1108a1,ef0074ec236ba6e3 X-Google-Attributes: gid1108a1,public X-Google-Thread: 108717,ef0074ec236ba6e3 X-Google-Attributes: gid108717,public X-Google-Thread: 1014db,ef0074ec236ba6e3 X-Google-Attributes: gid1014db,public X-Google-ArrivalTime: 1994-12-10 08:35:49 PST Path: bga.com!news.sprintlink.net!pipex!swrinde!cs.utexas.edu!geraldo.cc.utexas.edu!slip-14-1.ots.utexas.edu!user From: Jaeger@fquest.com (Brian Stern) Newsgroups: comp.lang.ada,comp.lang.c,comp.programming,comp.lang.c++,comp.object Subject: Re: Why don't large companies use Ada? Date: 10 Dec 1994 16:29:10 GMT Organization: The University of Texas at Austin, Austin, Texas Message-ID: References: <1994Nov29.154220.27952@cognos.com> <3blinp$8dm@gnat.cs.nyu.edu> <3c873t$lut@calvin.st-and.ac.uk> <3c9jle$796@thyme.csv.warwick.ac.uk> NNTP-Posting-Host: slip-14-1.ots.utexas.edu Xref: bga.com comp.lang.ada:8485 comp.lang.c:34145 comp.programming:5758 comp.lang.c++:40434 comp.object:9681 Date: 1994-12-10T16:29:10+00:00 List-Id: In article <3c9jle$796@thyme.csv.warwick.ac.uk>, csusb@csv.warwick.ac.uk (Jules) wrote: < This is one of the problems of adding strict typing onto the top of an existing < language, as was done for C++. Basically, the problem is the 'PSZ' type should < either be used in all cases, or not at all. It's a good idea to have the < separate type (in some cases you may also be using Pascal style strings, < which would have a different type [probably 'PST', following the hungarian < convention], also defined as being a char *, thus preventing you from mixing < the two types up), Pascal strings should be defined as unsigned char *. You'll have trouble getting or setting the length if it's greater than 128 otherwise. This also prevents you from mixing them up with C strings (null terminated). < < < -- < /* Julian R Hall csusb@csv.warwick.ac.uk < < Flames should be redirected to /dev/null - I don't know what < I'm saying myself so don't expect it to make sense all the time! */ -- Brian Stern :-{)} Toolbox commando and Menu bard Jaeger@fquest.com