From owner-freebsd-hackers Thu May 9 1:52: 5 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from HAL9000.wox.org (12-232-222-90.client.attbi.com [12.232.222.90]) by hub.freebsd.org (Postfix) with ESMTP id 87F7037B404 for ; Thu, 9 May 2002 01:52:00 -0700 (PDT) Received: (from das@localhost) by HAL9000.wox.org (8.11.6/8.11.6) id g498qTY36201; Thu, 9 May 2002 01:52:29 -0700 (PDT) (envelope-from das) Date: Thu, 9 May 2002 01:52:29 -0700 From: David Schultz To: Terry Lambert Cc: aaron , freebsd-hackers@FreeBSD.ORG Subject: Re: /usr/include/netinet/in.h Message-ID: <20020509015229.A36156@HAL9000.wox.org> Mail-Followup-To: Terry Lambert , aaron , freebsd-hackers@FreeBSD.ORG References: <200205071814.46995.aaron@lo-res.org> <200205071937.20043.aaron@lo-res.org> <3CD8B8D3.F605B84B@mindspring.com> <200205081449.12733.aaron@lo-res.org> <3CD9727B.B53067A4@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3CD9727B.B53067A4@mindspring.com>; from tlambert2@mindspring.com on Wed, May 08, 2002 at 11:46:19AM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thus spake Terry Lambert : > OS's that have promiscuous includes (e.g. "if you include stdio.h, > everything else gets included for you") enable bad code to be > written unknowingly, by programmers who fail to remember the interface > requirements from the manual pages (or fail to check them when they > don't remember, and rely on the compiler to tell them when they are > missing an include file, so they can go read the manual page to find > out which include file is missing). What these programmers should really be doing is writing in a language that uses a more rigorous naming convention, or one that gives programmers more control over the namespace(s). Java is the only ``popular'' language I know of that does this fairly well, so it's too bad that the rest of Java sucks. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message