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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM,T_HK_NAME_FM_MR_MRS 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: "Mr. Man-wai Chang" Newsgroups: comp.programming,comp.lang.clipper,comp.lang.c,comp.lang.ada,comp.databases.xbase.fox,alt.conspiracy Subject: Re: [BBC] Programmers who use spaces 'paid more' Date: Thu, 22 Jun 2017 00:52:57 +0800 Organization: Hung Hom, Kowloon, Hong Kong Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Wed, 21 Jun 2017 16:49:18 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="c62c6f37e024bf01e601430b4e976627"; logging-data="20299"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/NVwoYufTFEOq7AX1vdfuj" User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 In-Reply-To: Content-Language: en-US Cancel-Lock: sha1:wFyXEQ3o7BDAUF+RzEFRYCEOAeI= Xref: news.eternal-september.org comp.programming:20038 comp.lang.clipper:3031 comp.lang.c:191665 comp.lang.ada:47049 comp.databases.xbase.fox:177 alt.conspiracy:352492 Date: 2017-06-22T00:52:57+08:00 List-Id: On 22/6/2017 12:48 AM, Pascal J. Bourguignon wrote: > Which leads me to the conclusion that the origin of a lot of problems is > the fact that we save "source" files that are used as-is both for > human presentation/edition and for machine processing (compiling). I > would propose the alternative to save the programs eg. in the form of an > abstract syntactic tree (let's say lisp S-expressions), and each time it > is loaded in an IDE/editor, it would be unparsed into the specific > syntactic and layout/indenting preferences of the programmer; and when > saved, the programmer specific syntax would be parsed, and the > S-expression syntactic tree would be saved to the file. Machine > processing can use directly these S-expression forms. Basically, a code beautifier. But some programming languages' CR and LF mean something. In the case of COBOL, the first few columns have meanings. Which makes me believe hard, true SPACE is a simple and better solution. Anyway.... -- @~@ Remain silent! Drink, Blink, Stretch! Live long and prosper!! / v \ Simplicity is Beauty! /( _ )\ May the Force and farces be with you! ^ ^ (x86_64 Ubuntu 9.10) Linux 2.6.39.3 不借貸! 不詐騙! 不援交! 不打交! 不打劫! 不自殺! 請考慮綜援 (CSSA): http://www.swd.gov.hk/tc/index/site_pubsvc/page_socsecu/sub_addressesa