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=2.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_SBL_CSS autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 22954 invoked from network); 4 Mar 2021 21:26:39 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 4 Mar 2021 21:26:39 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id DDB779CAA0; Fri, 5 Mar 2021 07:26:30 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id AC7DD9CA68; Fri, 5 Mar 2021 07:26:03 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="IOGIB9aT"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id 80A0B9CA8D; Fri, 5 Mar 2021 07:25:41 +1000 (AEST) Received: from mail-oi1-f169.google.com (mail-oi1-f169.google.com [209.85.167.169]) by minnie.tuhs.org (Postfix) with ESMTPS id DBD639CA9C for ; Fri, 5 Mar 2021 07:25:38 +1000 (AEST) Received: by mail-oi1-f169.google.com with SMTP id l133so54180oib.4 for ; Thu, 04 Mar 2021 13:25:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=Cv9lnQ2TRSxOfndepWzaDt31yWxqGyImTYkemuAzaSk=; b=IOGIB9aTlcwtbl1jE1wNAJE2G1YSeJdXI1cSIxxiMHPv4cehlBL88/2pM4Yu/rIULV wz2I6KC4Y6cpFJNvL6G4ibPvdA0IP+cU6v5xN2qA/6gJxaiFaV07wQdgtj7oZPOGtm4a LNEOgW+9bhR0WY/Vg1pUxVDMJdr84KXZvlGXDEEflsRh91yxsWVPg2Tv9ROxpssAfyUj 1Yt+tX6SRhvq+DUSp9vDaSJkVDb3z4peBhS+xTbwdxhV93AYndcdcKo79HgOuS7IHAnX /PgZX3zJHfdDgKQH5bpF2sSg0u99Tm+XPZfXz27iCD76J4fwQg4Q5/vCWrI5B9NFDeSv oHKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=Cv9lnQ2TRSxOfndepWzaDt31yWxqGyImTYkemuAzaSk=; b=OGu5lbytGlK/uF2fwW7h4oPSMwsrIml02Y85DA7X9u6OmIngMGuu7fvraRgA0qBYri 4ylEb1S3+2HRLirYxiUUp2SZASnFfFV5DIePSeoWpQvSBdW2gVyWbEp2g9l5flqrOQC1 ytsxsXXwX2jieYmc+vq32p8GtFXLxI/5ZrooPPrV4PtWfEFYWnQMzNUVbE08M6pTjpP3 7Oj3yVK2/xPV953r1QSuGtFqyOJwEDUB31XxNnLm/M2jtiiJrxoZ81RBoVI2qIsGlIOs PtJfoFILVwH8H0g0SoGaKXyiWP0pDiJ+O3AI5gNbl6L+0dNI+PLdJWQjfELToVC0/xsG ZKcw== X-Gm-Message-State: AOAM530Pi1j+yLomSi/t8KIr4lzbp10WbTxRzzfsA2/OcGh7ydtZlomy IcK5GvL4TDEEyqXhwNDXg82rXr9K4cUUog== X-Google-Smtp-Source: ABdhPJz6FP/3zt6VBmRIKxEYr378Nn+r/KvwZitnfk/MwIP6E+7Kwk9x326xjGA/8rgV/kWMSLu4RQ== X-Received: by 2002:aca:cf85:: with SMTP id f127mr4512167oig.177.1614893137852; Thu, 04 Mar 2021 13:25:37 -0800 (PST) Received: from terra.local ([107.242.112.48]) by smtp.gmail.com with ESMTPSA id u19sm143944ote.15.2021.03.04.13.25.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 04 Mar 2021 13:25:37 -0800 (PST) To: Rob Pike , Steve Nickolas References: <202103041831.124IVZTj018003@freefriends.org> <604133A6.8070101@gmail.com> From: Will Senn Message-ID: Date: Thu, 4 Mar 2021 15:25:35 -0600 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------54E1B309F86C617A4F767A09" Content-Language: en-US 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" This is a multi-part message in MIME format. --------------54E1B309F86C617A4F767A09 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 3/4/21 1:50 PM, Rob Pike wrote: > https://www.youtube.com/watch?v=sln-gJaURzk&feature=player_detailpage#t=1734s&utm_source=buffer&buffer_share=c7676 > > > > Thanks for the link into the video. If only every language were as helpful on the formatting code front :). I work with random folks who have differing opinions on the subject - this becomes apparent as soon as we try to integrate, with the notorious "inconsistent use of tabs and spaces in indentation" error. Python drives me nuts with it's finickiness on this, all without providing a helpful way to resolve the issue. It's left up to the developer to fix. Go addresses this by normalizing the format. It's not just Python, I'm currently reading a C17 C++ book, at the moment, and the authors spend several pages on coding style. They eventually boil it down to "whatever you do, be consistent" - but the amount of time spent on this shows us why go's approach is vastly superior. No raging debate about braces on the same line or even tabs and spaces - just code it, let go sort out the style issues. Will --------------54E1B309F86C617A4F767A09 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit
On 3/4/21 1:50 PM, Rob Pike wrote:
Thanks for the link into the video. If only every language were as helpful on the formatting code front :). I work with random folks who have differing opinions on the subject - this becomes apparent as soon as we try to integrate, with the notorious "inconsistent use of tabs and spaces in indentation" error. Python drives me nuts with it's finickiness on this, all without providing a helpful way to resolve the issue. It's left up to the developer to fix. Go addresses this by normalizing the format. It's not just Python, I'm currently reading a C17 C++ book, at the moment, and the authors spend several pages on coding style. They eventually boil it down to "whatever you do, be consistent" - but the amount of time spent on this shows us why go's approach is vastly superior. No raging debate about braces on the same line or even tabs and spaces - just code it, let go sort out the style issues.

Will


--------------54E1B309F86C617A4F767A09--