Hi,

FRIGN wrote:
> If headers depend on order, the headers are broken. Dismissed.

Most headers I write are plan9 style[0] headers. "The files are not
protected against multiple inclusion and themselves contain no nested
#includes. Instead the programmer is expected to sort out the
requirements and to #include the necessary files once at the top of each
source file." It is actually really elegant for small scale projects
(unless you write C++ and have to manually include 30 layers of
templates ofcourse).

[0] http://plan9.bell-labs.com/sys/doc/comp.html

Reply via email to