Deutsch English Français Italiano |
<9a6583437121418f0b8446fd6d979461@www.novabbs.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder9.news.weretis.net!i2pn.org!i2pn2.org!.POSTED!not-for-mail From: mitchalsup@aol.com (MitchAlsup1) Newsgroups: comp.arch Subject: Re: text in programming languages, Unicode in strings Date: Sun, 19 May 2024 20:48:33 +0000 Organization: Rocksolid Light Message-ID: <9a6583437121418f0b8446fd6d979461@www.novabbs.org> References: <v0s17o$2okf4$2@dont-email.me> <v2anov$11l1$2@gal.iecc.com> <2024May19.175249@mips.complang.tuwien.ac.at> <v2df6i$3ghp4$1@dont-email.me> <v2dju2$11ed$1@gal.iecc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: i2pn2.org; logging-data="1614071"; mail-complaints-to="usenet@i2pn2.org"; posting-account="65wTazMNTleAJDh/pRqmKE7ADni/0wesT78+pyiDW8A"; User-Agent: Rocksolid Light X-Rslight-Posting-User: ac58ceb75ea22753186dae54d967fed894c3dce8 X-Rslight-Site: $2y$10$xNWVwIYoMg9C8DiZMrBvB.SOna4DFY4hMvLHf4vOzGS.G14TCTLH6 X-Spam-Checker-Version: SpamAssassin 4.0.0 Bytes: 2125 Lines: 28 John Levine wrote: > According to Stephen Fuld <SFuld@alumni.cmu.edu.invalid>: >>> That may have been the idea, but I think the idea was wrong. >> >>I think few would disagree with both parts of that. I certainly >>wouldn't. But I give the designers some slack as, in the late 1950s, >>there was lettle knowledge about programming languages to go on. Now, >>the mistake is obvious. > COBOL is older than Fortran, and back in the day there were plenty of > people who were outraged at I=I+1 which is mathematically absurd for > the > physicicts and mathematicians who were Fortran's early users. > Algol gave us various kinds of := which were supposed to be better. >>Yes, the COMPUTE statement. i.e. COMPUTE I = I + 1 > You could do that, but I think this is at least as clear: > ADD 1 TO PRODUCT-INDEX. > Don't forget that while COBOL's control structures were quite weak, > its data structures still look pretty good. Everything in a C or C++ > structure comes from COBOL by way of PL/I. Picture data structures ??