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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "G.B." Newsgroups: comp.lang.ada Subject: Re: Question on bounded / unbounded strings Date: Thu, 22 Sep 2016 12:58:04 +0200 Organization: A noiseless patient Spider Message-ID: References: <11ee98f5-d373-4c72-8562-c310cc76817d@googlegroups.com> Reply-To: nonlegitur@futureapps.de Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 22 Sep 2016 10:57:56 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="b96887e80893c84a90c3007226ca0d1c"; logging-data="8395"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19rqn3T5C3OH9qbdxwCGmU8B3JirjIezUc=" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 In-Reply-To: Cancel-Lock: sha1:svwrb2i+Bg/gILp/cMTgeFq/IbI= Xref: news.eternal-september.org comp.lang.ada:31840 Date: 2016-09-22T12:58:04+02:00 List-Id: On 22.09.16 11:53, Dmitry A. Kazakov wrote: > If you do DB you use DB data types. Whenever the DB allows user defined data types (some do) and all clients can handle them, then one may consider using types that reflect the problem domain. UDDTs, I read, is how things should have been when the DBs were formalized a little. Today, we may need to learn about the semantic effects of trailing blanks in VARCHAR of different vendors' DBMSs, and that's worth money in some places. So, user defined types may be beneficial in a typical Ada environment when using a capable DBMS.