| Deutsch English Français Italiano |
|
<vad5h9$m9d$1@gal.iecc.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.iecc.com!.POSTED.news.iecc.com!not-for-mail From: John Levine <johnl@taugh.com> Newsgroups: comp.arch Subject: Re: Article on new mainframe use Date: Sat, 24 Aug 2024 17:33:29 -0000 (UTC) Organization: Taughannock Networks Message-ID: <vad5h9$m9d$1@gal.iecc.com> References: <v9iqko$h7vd$1@dont-email.me> <va8sji$otgt$5@dont-email.me> <va9dt6$r72m$1@dont-email.me> <vac17h$1ab6s$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Sat, 24 Aug 2024 17:33:29 -0000 (UTC) Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="22829"; mail-complaints-to="abuse@iecc.com" In-Reply-To: <v9iqko$h7vd$1@dont-email.me> <va8sji$otgt$5@dont-email.me> <va9dt6$r72m$1@dont-email.me> <vac17h$1ab6s$1@dont-email.me> Cleverness: some X-Newsreader: trn 4.0-test77 (Sep 1, 2010) Originator: johnl@iecc.com (John Levine) Bytes: 2526 Lines: 29 According to Lawrence D'Oliveiro <ldo@nz.invalid>: >> String processing adds bulk and inefficiency. >> Granted, maybe not enough to matter in the face of a typical database >> query. > >Remember what Knuth (or maybe it was Hoare) said: “Premature optimization >is the root of all evil”. String processing has to be in the language for >other reasons (think: composing messages and processing input when >interacting with a human user), why not use it for this? Interactimg? Human user? COBOL was designed for computers that took their inputs from mag tapes or card readers and sent their output to printers or other tapes. The human user had lights and switches. By the 1960s most computers had a console terminal but even so the interaction tended to be MOUNT CHECK FORM XYZ123 IN PRINTER, not anything complex. I realize times have changed, viz, the Star Trek program, but in the era when COBOL was designed the goal was to keep the expensive computer doing work, not hanging around waiting for someone to type something. >Also, it is quite common now to use text-based protocols for networks >(e.g. messages in JSON format). That may sound inefficient, but it eases >debugging so much, that has become a major consideration. I see that IBM has JSON GENERATE and JSON PARSE for just this situation. -- Regards, John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies", Please consider the environment before reading this e-mail. https://jl.ly