[Swan] a discipline for declarations in C

Paul Wouters paul at nohats.ca
Wed Sep 25 19:54:00 EEST 2013


On Wed, 25 Sep 2013, D. Hugh Redelmeier wrote:

> In the C code, names should have the smallest scope reasonable.  This
> makes the code more understandable for humans and compilers.

[...]

> This convention was followed when I maintained Pluto.  There has been
> some bitrot that needs to be fixed.  In fact a lot of the
> modularization has decayed.

I'll add this to the wiki,

Paul


More information about the Swan mailing list