Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 May 2002 01:52:29 -0700
From:      David Schultz <dschultz@uclink.Berkeley.EDU>
To:        Terry Lambert <tlambert2@mindspring.com>
Cc:        aaron <aaron@lo-res.org>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: /usr/include/netinet/in.h
Message-ID:  <20020509015229.A36156@HAL9000.wox.org>
In-Reply-To: <3CD9727B.B53067A4@mindspring.com>; from tlambert2@mindspring.com on Wed, May 08, 2002 at 11:46:19AM -0700
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>

next in thread | previous in thread | raw e-mail | index | archive | help
Thus spake Terry Lambert <tlambert2@mindspring.com>:
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020509015229.A36156>