Re: [dev] [sbase] style

From: koneu <koneu93_AT_googlemail.com>
Date: Tue, 18 Nov 2014 02:04:30 +0100

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
Received on Tue Nov 18 2014 - 02:04:30 CET

This archive was generated by hypermail 2.3.0 : Tue Nov 18 2014 - 02:12:08 CET