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: State of the compiler market Date: Thu, 29 Jun 2017 19:23:02 +0200 Organization: A noiseless patient Spider Message-ID: References: <1813789782.509760763.093426.laguest-archeia.com@nntp.aioe.org> <87varxjouh.fsf@nightsong.com> <250466748.510009784.561340.laguest-archeia.com@nntp.aioe.org> <87fuelzvcq.fsf@jacob-sparre.dk> <4e60ac97-7f4f-47e7-847a-e27983accd4b@googlegroups.com> <57c26106-4e4f-464f-83e9-fe52de614cd7@googlegroups.com> <6529c392-f042-4dfe-8cdb-b785406ad788@googlegroups.com> <8643cc5f-7b09-479f-825d-8060aad7d628@googlegroups.com> Reply-To: nonlegitur@notmyhomepage.de Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 29 Jun 2017 17:19:05 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="42ca07aadaba07834166fb893b2478de"; logging-data="29659"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+SMn/vBBUgVGosolbUPSWZ8ESAPklUglw=" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 In-Reply-To: <8643cc5f-7b09-479f-825d-8060aad7d628@googlegroups.com> Cancel-Lock: sha1:LSJqfLEruNSoeSPw1OPZOMK6rOo= Xref: news.eternal-september.org comp.lang.ada:47183 Date: 2017-06-29T19:23:02+02:00 List-Id: On 29.06.17 16:47, Lucretia wrote: > The current string mess. Remove it all and start again. While at removing the string mess, remove strings altogether! Strings' use cases are almost always just UI related: be it an exception message, compiler diagnostic, an alert box, and so forth: in the end, strings are almost always at the human interface level. (Note that hashed keys need not be strings.) UI in just strings? The presence of bare strings in programs is only a legacy and reminiscent of (a) lack of typed data, (b) our habits that move towards ADTs slowly. E.g., a notion of Message conveys not just an array of characters. Microformats of text exist only because lenient management is tolerant of stuff that "tends to work in 90% of the cases", and "everyone else does it like this, plus we're not disruptors". IT business could use that tolerance of bare strings in more meaningful IT situations, those that promise higher ROI than messing about strings. Note that this posting is demonstrably not just a string.