[C++-sig] Re: Pyste: support for user defined code.

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Sun Aug 17 05:36:09 CEST 2003


>>>>> "N" == nicodemus  <nicodemus at globalite.com.br> writes:

    N> Hmm, agreed, those "add" are redundant anyway, and I like
    N> "code" better than "include". 8)

    N> The names in caps indicates the sections in the source file
    N> where the code should go:

Rather than using the special all caps MODULE etc. why not just do
this:

 add_header(...)
 add_declaration(...)
 add_module(...)

or 

 code_header(...)
 ...

or

 header_code()
 declaration_code()
 module_code()

I'd prefer any of these to code(MODULE, <code>) etc. since it looks
much cleaner.

Thanks!

cheers,
prabhu




More information about the Cplusplus-sig mailing list