From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: from minnie.tuhs.org (minnie.tuhs.org [50.116.15.146]) by inbox.vuxu.org (Postfix) with ESMTP id 76C0A2396F for ; Wed, 3 Apr 2024 19:30:26 +0200 (CEST) Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id 054C842695; Thu, 4 Apr 2024 03:30:25 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuhs.org; s=dkim; t=1712165425; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=MLM03fcsZYigd1kFiSw6nm7DiD/B154k5mpbp1W3cGQ=; b=l6H7+V8PIfe7eZP8VZsqVm94PpTPkXJ7njqDtzL4VSPtNfpxVEBqrP1E81++cXuLI18MSg Y20kVd4X77ZTL++6cZ9ovcM5mnGVNINtjPty39WPobNfbahglgeeacq1CU3Vk2rQxFqtzu AgGCcQe7v3kUdf9TBt9bmdzkWwGTO9c= Received: from mail-40138.protonmail.ch (mail-40138.protonmail.ch [185.70.40.138]) by minnie.tuhs.org (Postfix) with ESMTPS id 7E2A742453 for ; Thu, 4 Apr 2024 03:30:14 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1712165412; x=1712424612; bh=MLM03fcsZYigd1kFiSw6nm7DiD/B154k5mpbp1W3cGQ=; h=Date:To:From:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=A9/aBizqMMAhgh+boJ1SQPzYqWUsXoIyVHpcX9JDV5ZpLt+0ZZu3R5fi/e+FhN2F2 JaTPkHoPNTCepaLT0mpQcE60PKvZapTammOiURNMSVpTKA4JIZnG0vpPNILvkt+oCl 6KVC9t9VppNx0xYDGGvDobaarUnv0e3l5duv2mXcRYM/YCvq2kv6Uage9IdIxAJ4aB 9LMtAfgaVjCN1+HLRL2aeEWWqSbJLlsRpCmUa7Ub15cDv0nYUi+3L/AXe8MwjgArTs vfnDiPfGAYTgnrJCsJqgfhLAM+LbelZM4NgtN69wK66zYHt/hu3M9l+DOLaSrZTbOx YD/30BTe0216g== Date: Wed, 03 Apr 2024 17:30:05 +0000 To: coff@tuhs.org Message-ID: In-Reply-To: References: <1d3f129c-eafe-4fb2-9ea2-d949f3813c88@technologists.com> Feedback-ID: 35591162:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-ID-Hash: FYLEE5YDHNRO3ELEKZH7KJQPMINHXLUX X-Message-ID-Hash: FYLEE5YDHNRO3ELEKZH7KJQPMINHXLUX X-MailFrom: segaloco@protonmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [COFF] Re: Of PL/I List-Id: Computer Old Farts Forum Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: segaloco via COFF Reply-To: segaloco On Wednesday, April 3rd, 2024 at 9:18 AM, Paul Winalski wrote: >=20 > In the PL/I shops I worked at it was required that all declarations be at= the beginning of the scope block. > =20 > -Paul W. I get (friendly) flack for this from some of my coworkers, context is we're= a C# and Java(Type)Script shop. They poke fun at how I write these langua= ges like a C programmer but I don't ever hear anyone complaining about the = readability of my code :) Declarations anywhere else but the top of blocks irks me, even if the langu= age is totally fine with it. The only exception is asm, putting all the da= ta and bss at the bottom of assembly units instead. - Matt G.