[m-dev.] for review: update c_coding_guidelines.html

Robert Ernst Johann JESCHOFNIK rejj at cat.cs.mu.OZ.AU
Wed Dec 29 22:58:01 AEDT 1999


On Wed, 29 Dec 1999, Fergus Henderson wrote:

> 	- Change the recommended order of declarations in
> 	  header files: `#defines' should in general come
> 	  last, after function declarations, rather than before
> 	  type definitions.

WHenever I write some C stuff, I put the #defines just after the
#includes, ie, before any type definitions and function declarations. To
me, this seemed like a `good' ordering.

Why the proposed change? (I'm just curious, that's all)



rob

--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list