From owner-freebsd-hackers Mon May 19 04:42:40 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id EAA16196 for hackers-outgoing; Mon, 19 May 1997 04:42:40 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id EAA16157; Mon, 19 May 1997 04:41:33 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.5/8.6.9) id VAA13078; Mon, 19 May 1997 21:31:41 +1000 Date: Mon, 19 May 1997 21:31:41 +1000 From: Bruce Evans Message-Id: <199705191131.VAA13078@godzilla.zeta.org.au> To: hackers@FreeBSD.ORG, j@uriah.heep.sax.de Subject: Re: Variable initialization Cc: core@FreeBSD.ORG Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >> Can someone tell me why this is called obfuscation ? With old compilers, it was a pessimization to initalize variables unnecessarily or long before they are used. With modern compilers, it defeats automatic checking for uninitialized variables and may still prevent some optimizations. A wrongly initialized variable is worse than an initialized one since it can't be checked for. >I've cc'ed the core team: we should IMHO make this sentence in >style(9) less strict. My English ain't good enough for a better >formulation... We already made it less strict. It is the one thing in the Lite2 /usr/src/admin/style that someone felt strongly enough about to say "DO NOT" do this. Bruce