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,9fb64e4c58f1fe X-Google-Attributes: gid103376,public From: David Morton Subject: Re: overload ":=" ??? Date: 1996/07/22 Message-ID: <31F40F0C.3FDACA19@jinx.sckans.edu>#1/1 X-Deja-AN: 169566453 references: <4soh73$56h@newsbf02.news.aol.com> content-type: text/plain; charset=us-ascii organization: student mime-version: 1.0 newsgroups: comp.lang.ada x-mailer: Mozilla 2.01 (X11; I; Linux 2.0.8 i486) Date: 1996-07-22T00:00:00+00:00 List-Id: > Well, I guess it depends on what background you have on Ada (;-), > when I read in an Ada source. > > X := "sdfsfg"; > > I know that X is a fixed string (or wide_string). When I read: > > X := To_X ("sgsgs"); > > I know that a change in representation is on the way (may be X > isn't a fixed string after all), and it's not extra verbosity. A semi-good point, but I still don't care... Hopefully X isn't defined so far away that I can't remember what it is... > This "sort of string" is built in Ada 95 under the name > Bounded_String. I looked at that, and it would be great, but... RM A.04.04.106 seems to say that this isn't good with dynamic pointers (or am I misreading this?) > If you allow programmers to play with assignment, you'll definitly > damage the readability of all Ada sources. what about "write-ability" ???? -- David Morton mailto:dmorton@jinx.sckans.edu http://www.sckans.edu/~dmorton/ 205 College, Winfield, KS 67156 This signature will self-destruct in 10 seconds...