This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Guile docstrings---should Guile code be ANSI C compatible?


"Greg J. Badros" wrote:
> 
> > "This is a docstring that I wrote "
> > "just for the sake of example."
> 
> Don't legacy C compilers have problems with this (even more so than \n\
> separators)?

Only pre-ANSI compilers might have trouble with this, and that
doesn't really concern me.
 
> > I don't think that's too much of a pain to deal with.
> 
> For humans it's still a pain, too, and probably no better than just
> newline separators for portability.

For me at least it's easier to type a quote than \n\, and more legible
too.  Both methods are equally ANSI-compliant.

 - Maciej

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]