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!mx02.eternal-september.org!.POSTED!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: Build language with weak typing, then add scaffolding later to strengthen it? Date: Sat, 30 May 2015 11:10:16 +0200 Organization: A noiseless patient Spider Message-ID: References: <127b004d-2163-477b-9209-49d30d2da5e1@googlegroups.com><59a4ee45-23fb-4b0e-905c-cc16ce46b5f6@googlegroups.com><46b2dce1-2a1c-455d-b041-3a9d217e2c3f@googlegroups.com> <87a8wnu3v0.fsf@adaheads.sparre-andersen.dk> Reply-To: nonlegitur@futureapps.de Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sat, 30 May 2015 09:09:02 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="a9916fc2ddda1010243330267b8fbba0"; logging-data="12918"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX189Gj18CnnuKCCiW8cENkPZ2ERoR6u+BME=" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 In-Reply-To: Cancel-Lock: sha1:Q4OGwjs5LqgKmBWRtIXt4Kv6KRE= Xref: news.eternal-september.org comp.lang.ada:26091 Date: 2015-05-30T11:10:16+02:00 List-Id: On 30.05.15 01:12, Peter Chapin wrote: > Now they are stuck with maintaining two incompatible versions of the language into the arbitrary future. Ruby and Perl got stuck too, here and there. One of the causes being when their string type was relying on C's char. At some point, the eighth's bit became meaningful, encoding and better types needing support in the language. (Just consider C's 127 + 1 if CHAR_BIT is 8, and dynamically linked libraries being used.) One effect on Python is that programmers cannot easily use many libraries that were built with 7 bit I/O in mind. Python's creator Guido van Rossum has left Google, so maybe Google will use their own Go language now, Python loosing a sponsor. From the technical point of view: 12345.67e9 does not make a programmer think about encoding of numeric literals, does it? Whereas "π" does, in all sorts of ways. While programmers do need numbers all the time, the same is perhaps not true about text. So, possibly computer scientists have created a huge language problem by building on the assumption that "text stuff", rarely needed as it is, is just like numeric literals. But "'A'" /= "65 ". Dammit!