From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HTML_FONT_LOW_CONTRAST,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 6300 invoked from network); 5 Mar 2021 19:46:23 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 5 Mar 2021 19:46:23 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 7D0CD9CA8E; Sat, 6 Mar 2021 05:46:20 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 4B4299CA68; Sat, 6 Mar 2021 05:46:01 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=serissa.com header.i=@serissa.com header.b="oFLP+qTv"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="XsAJXZ71"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id 2A3219CA68; Sat, 6 Mar 2021 05:45:58 +1000 (AEST) X-Greylist: delayed 392 seconds by postgrey-1.36 at minnie.tuhs.org; Sat, 06 Mar 2021 05:45:55 AEST Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by minnie.tuhs.org (Postfix) with ESMTPS id B9C6B9C9D6 for ; Sat, 6 Mar 2021 05:45:55 +1000 (AEST) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id E30E341A; Fri, 5 Mar 2021 14:39:22 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Fri, 05 Mar 2021 14:39:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=serissa.com; h= from:message-id:content-type:mime-version:subject:date :in-reply-to:cc:to:references; s=fm2; bh=asCojLTn1DmU4tLWlIYr7AF /SEJqgfDgTbyvzPgJ5aM=; b=oFLP+qTv/YghjNDh/Ej3+JsdVpOeaFaQI+ljZSU Rd42g6lXEVzzIBKyZ6F8SmcL2VIj/2CbFPQqqNyQiUlEf1i3elsP+i4mAt1l4nnH fRy5S89rHvt4qo0RrFBYMN+7doAZsgzzo4muQD+6fQF8iEdNAHRRuHQm3AHUjWDH r4+p6ne5FlUlsVLNDUAx9YmOkxEVjrDhbiOkABMPQudOMvljAJZEbDTp79HPq42r SpuoN8OU9GZ2knDlSfU2hMlkgdilHMwH7KfmdrT4qaFh8COzDEz+Gr8tndy0eXNz bj1rPXTfmIhhiMRGUd+olaTXVZS4CSs+NZ0fPtZKF661uNQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=asCojL Tn1DmU4tLWlIYr7AF/SEJqgfDgTbyvzPgJ5aM=; b=XsAJXZ71lYnS6DDk7jIQ2m LkgPixx7S4k0aSIz3ezWoo5AalreRHelVjeIo/5jMrTng1XJedDwARNggNw4z6RY efSXnHOt8yvGt5qPhfqnNdvEmCikyohFL6CDhEhTJ1hhBoJ/pPJjR6jLH/2nq61L S8OL4mejg9dX+TlBWK63LsHlxptwaEmrKQV3WBwOoJV46ExiQSsB759ulMqbepp/ +BpiVmqCd/D392WekEo9mc193YsDtJRlIxUgk4VN1TeS0DWg0gTwjWd0WiH9wCcJ K8d/uV8sl3Z+ycII0rSN3T6JoLixzXjMUH7TtT4Z8CKsZOG/f3rbJtchECVATCWA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledruddtiedguddujecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhkfgtggfuffgjvfhfofesrgdtmherhhdtjeenucfhrhhomhepnfgrfihr vghntggvucfuthgvfigrrhhtuceoshhtvgifrghrthesshgvrhhishhsrgdrtghomheqne cuggftrfgrthhtvghrnhepgfdttddujefgiefftdfhhfegjeefkeekffffteevgfdvhffg gffhtdejleduhefhnecukfhppeduhedurddvtdefrdehkedruddtheenucevlhhushhtvg hrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehsthgvfigrrhhtsehsvghr ihhsshgrrdgtohhm X-ME-Proxy: Received: from [192.168.167.71] (pool-151-203-58-105.bstnma.fios.verizon.net [151.203.58.105]) by mail.messagingengine.com (Postfix) with ESMTPA id 0BE641080059; Fri, 5 Mar 2021 14:39:22 -0500 (EST) From: Lawrence Stewart Message-Id: <8AD335D5-A948-47A7-A7D4-CF6C2AA8A20C@serissa.com> Content-Type: multipart/alternative; boundary="Apple-Mail=_8FFCAA0D-5523-450E-9800-0B94D48D5461" Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Date: Fri, 5 Mar 2021 14:39:21 -0500 In-Reply-To: To: Richard Salz References: <57A1A023-7E73-4233-8FF2-CED5EB1CDB7C@gmail.com> X-Mailer: Apple Mail (2.3654.60.0.2.21) Subject: Re: [TUHS] tabs vs spaces - entab, detab X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: TUHS main list Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" --Apple-Mail=_8FFCAA0D-5523-450E-9800-0B94D48D5461 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I saw the light when my team presented me with a =E2=80=9CLarry Stewart, = Code Meddler=E2=80=9D plaque. I stopped editing other coders=E2=80=99 style on the spot. I might have missed the discussion, but when did indent(1) come along? = The interwebs say it was=20 in 4.1BSD. I went through a period thinking that indent with the project standard = rules on checkin was a=20 reasonable idea, but git at least doesn=E2=80=99t seem very friendly = towards that sort of thing. Left to myself I use no tabs (except in Makefiles) and 2-space per = level. I think the most=20 important thing is to maximize the code visible per screenful. Lower = indents permit longer=20 identifiers before the dreaded line-wrapping. > On 2021, Mar 5, at 12:19 PM, Richard Salz wrote: >=20 >=20 > In my own case, I had been taught the golden rule of "use the style = that is already in use" - which I admit, was a hard lesson when I was = young I admit. >=20 > In my first Unix job (roughly 40 years ago), I read the vi reference = manual and memorized the keystroke commands. And then did=20 > % cd /user/include > % vi *.h > to fix up all the indents and comments. >=20 > Later on I graduated to learning not to do control-p on a Vax console = a second time. >=20 > What were your mistakes? ("Always mount a scratch monkey") >=20 >=20 > In --Apple-Mail=_8FFCAA0D-5523-450E-9800-0B94D48D5461 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 I = saw the light when my team presented me with a =E2=80=9CLarry Stewart, = Code Meddler=E2=80=9D plaque.
I stopped editing other = coders=E2=80=99 style on the spot.

I might have missed the discussion, but = when did indent(1) come along?  The interwebs say it = was 
in 4.1BSD.

I went through a period thinking that = indent with the project standard rules on checkin was a 
reasonable idea, but git at least doesn=E2=80=99t seem very = friendly towards that sort of thing.

Left to myself I use no tabs (except in Makefiles) and = 2-space per level.  I think the most 
important = thing is to maximize the code visible per screenful.  Lower indents = permit longer 
identifiers before the dreaded = line-wrapping.

On 2021, Mar 5, at 12:19 PM, Richard Salz = <rich.salz@gmail.com> wrote:


In my own = case, I had been taught the golden rule of "use the style that is = already in use" - which I admit, was a hard lesson when I was young = I admit.

In my first Unix job (roughly 40 years = ago), I read the vi reference manual and memorized the keystroke = commands.  And then did
   % cd /user/include
   % vi *.h
to fix up all the = indents and comments.

Later on I graduated to learning not to do control-p on a Vax = console a second time.

What were your mistakes?  ("Always mount a scratch = monkey")


In

= --Apple-Mail=_8FFCAA0D-5523-450E-9800-0B94D48D5461--