From owner-freebsd-hackers Sun Oct 5 17:13:17 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA18707 for hackers-outgoing; Sun, 5 Oct 1997 17:13:17 -0700 (PDT) (envelope-from owner-freebsd-hackers) Received: from sendero-ppp.i-connect.net (sendero-ppp.i-Connect.Net [206.190.143.100]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id RAA18701 for ; Sun, 5 Oct 1997 17:13:12 -0700 (PDT) (envelope-from shimon@sendero-ppp.i-connect.net) Received: (qmail 4930 invoked by uid 1000); 6 Oct 1997 00:13:38 -0000 Message-ID: X-Mailer: XFMail 1.2-alpha-092997 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <199710052341.QAA24216@usr05.primenet.com> Date: Sun, 05 Oct 1997 17:13:38 -0700 (PDT) Organization: Atlas Telecom From: Simon Shapiro To: Terry Lambert Subject: Re: Minor error (?) in regex.h Cc: freebsd-hackers@FreeBSD.ORG, (Brian Somers) Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi Terry Lambert; On 05-Oct-97 you wrote: > > The stuff in /usr/include isn't meant to be standalone - it's a > > hysterically religious thing. > > Having to do with relative compilation times based on how the C > preprocessor works. > > The problem with making the cpp "know" the file to be included is > already in scope is truly religious history: you can't be sure > that some idiot trying to program C++ in C didn't define something, > #include a file which ##'ed the something as a prefix/suffix, then > redefined the thing, and included the same file again (think of > "template classes for C" and you will get the -- nauseating -- picture). > > In addition, there are know dwiddley's (a dwiddley is someone who puts > code in an include file). So, some of the contributors to FreeBSD are dwiddley's (LOVE that expression :-), as I never thought this to be permissable, until I read some sources here :-)) Don't remember whwere but these where some inline functions. BTW, is queue.h, which is full of #define's as long as functions, a Dwiddled code? This is a humorous, tention breaker. Right? --- Sincerely Yours, Simon Shapiro Atlas Telecom Senior Architect 14355 SW Allen Blvd., Suite 130 Beaverton OR 97005 Shimon@i-Connect.Net Voice: 503.799.2313