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 X-Google-Thread: a07f3367d7,429176cb92b1b825 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!feeder.news-service.com!news2.euro.net!newsfeed.freenet.ag!news.netcologne.de!ramfeed1.netcologne.de!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: AWS Coding Styles (and about boring plain-linear text files in the end) Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <3077fffa-eed7-4763-8bca-9ac3bb0a41e1@o14g2000prn.googlegroups.com> <82y66ihc0i.fsf@stephe-leake.org> <4d355532$0$6878$9b4e6d93@newsspool2.arcor-online.net> <8b58b9da-a014-4a0e-8d20-ca86a4993961@h17g2000pre.googlegroups.com> Date: Wed, 19 Jan 2011 10:13:34 +0100 Message-ID: NNTP-Posting-Date: 19 Jan 2011 10:13:34 CET NNTP-Posting-Host: dbc70e67.newsspool3.arcor-online.net X-Trace: DXC=7UkFF1XN92T@@RW1FjIB5SMcF=Q^Z^V3X4Fo<]lROoRQ8kF On Wed, 19 Jan 2011 08:19:39 +0100, J-P. Rosen wrote: > I beg to (partially) disagree here: reading a newspaper has nothing to > do with reading a program. Of course it does, because the process of reading is same. Program reading requires even shorter lines because the reader searches and compares program texts more often than newspaper texts. > In programming, most identifiers are far longer than five characters, > especially if you are use-phobic (hint, hint). Right, yet another argument for "use" against fully qualified names. > And you want to read > exactly what's written, not what your brain thinks is written! Without brain thinking, you mean? (:-)) BTW, the argument to exactness works rather against you. Consider how texts on mathematics are formatted. Formulae have always *shorter* lines than plain texts, to be read "exactly." > I agree that /some/limitation is necessary, but 80 is far to narrow, > leading to excessive folding in nested constructs. I disagree. The text should be possible to show side-by-side, e.g. ads and adb files. Deeply nested constructs is IMO bad style, to be factored out into local procedures. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de