From owner-freebsd-chat Fri Jun 22 14:44: 5 2001 Delivered-To: freebsd-chat@freebsd.org Received: from smtp10.phx.gblx.net (smtp10.phx.gblx.net [64.211.219.59]) by hub.freebsd.org (Postfix) with ESMTP id D97DA37B426 for ; Fri, 22 Jun 2001 14:43:57 -0700 (PDT) (envelope-from tlambert@usr06.primenet.com) Received: (from daemon@localhost) by smtp10.phx.gblx.net (8.9.3/8.9.3) id OAA32666; Fri, 22 Jun 2001 14:43:57 -0700 Received: from usr06.primenet.com(206.165.6.206) via SMTP by smtp10.phx.gblx.net, id smtpd3lZ_7a; Fri Jun 22 14:43:54 2001 Received: (from tlambert@localhost) by usr06.primenet.com (8.8.5/8.8.5) id OAA28698; Fri, 22 Jun 2001 14:47:44 -0700 (MST) From: Terry Lambert Message-Id: <200106222147.OAA28698@usr06.primenet.com> Subject: Re: most complex code in BSD? To: tobez@tobez.org (Anton Berezin) Date: Fri, 22 Jun 2001 21:47:44 +0000 (GMT) Cc: tlambert@primenet.com (Terry Lambert), des@ofug.org (Dag-Erling Smorgrav), jcm@FreeBSD-uk.eu.org (j mckitrick), freebsd-chat@FreeBSD.ORG In-Reply-To: <20010622232942.A53155@heechee.tobez.org> from "Anton Berezin" at Jun 22, 2001 11:29:42 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > > > > In everyone's opinion, what is the most complex code in the BSD > > > > codebase? Not including asm (unless there is an especialy > > > > exemplary example of obfuscated code, but it seems compilers are > > > > better at that ;-) what code is most likely to turn a newbie's > > > > brain to tapioca? > > > Anything with "perl" code in it: it's a write-only programming > > language, useful only for throw-away code. > > Wow, wow. Opinions are strong here, aren't they? ;-) If you can show me tools to enforce style and correctness, I am willing to recant. The lack of "one true way" to do everything means that perl is the programming language equivalent of "Standards are wonderful, because there are so many to choose from". C has this disease to a much lesser extent (and then it's mostly to do with pointer math and conversion of array elements and intentional casting. Oh, yeah: and volatile sucks: have you read DMR's diatrive against ANSI C? As the inventor of the language, I'd say he's entitled to his opinions on it... Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message