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!feeder.eternal-september.org!gegeweb.org!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: [Slightly OT] How to process lightweight text markup languages? Date: Tue, 20 Jan 2015 09:44:03 +0100 Organization: cbb software GmbH Message-ID: <124x3vtzoif6w$.1nz4eqzwswawb$.dlg@40tude.net> References: Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: YGNMlxhiQ90vAyH0QA4qPw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Xref: news.eternal-september.org comp.lang.ada:24627 Date: 2015-01-20T09:44:03+01:00 List-Id: On Mon, 19 Jan 2015 13:37:57 -0800 (PST), gautier_niouzes@hotmail.com wrote: > Le lundi 19 janvier 2015 21:12:41 UTC+1, Randy Brukardt a écrit : > >> No, this is a fallicy. The Internet (and world in general) would be better >> off if documents that are sufficiently malformed were simply not displayed >> at all. In that case, the document source would be fixed if anyone cares >> enough. > > Alas the forces of competition resulted in the opposite: if a browser > doesn't display a malformed HTML, users blame the browser and try another > one. In a hypothetic case of "doing things right" they would not be able to deploy broken pages at the server side. Can you execute a malformed executable? The problem is not only lack of an enforced standard but also the whole concept of a directly interpreted weak language which could be equally understood by a human and the machine. This is an inherently flawed idea as HTML, XML, scripting languages promptly prove. In the end it is neither readable nor executable with huge overhead for all parties and no safety at all, plus, totally unmaintainable. > Same in real > life: sometimes smart guys have to find solutions for idiots (customers, > bosses,...) Yes, you could also put it this way: idiots are busy piling up work for smart people... > You'd like to start a new, parallel Web with only well formatted documents ? If I had a say, I would begin with a file-/data-less typed OS. That would preclude the very notion of "formatted document". It should be just "document", a type with operations, no directly accessible data. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de