POV-Ray : Newsgroups : povray.off-topic : Old fart? : Re: Old fart? Server Time
30 Jul 2024 06:19:11 EDT (-0400)
  Re: Old fart?  
From: Invisible
Date: 21 Apr 2011 04:11:13
Message: <4dafe6a1$1@news.povray.org>
On 20/04/2011 22:53, Darren New wrote:

> I'm at a loss as to why such would be in comments in source code, but
> OK. :-)

Some people do advocate putting all your documentation inside your 
source code.

On the one hand, the idea is that the documentation is more likely to 
stay in sync with the source code. (E.g., if you swap the order of the 
arguments to a function, the documentation is right next to it, so you 
can update that as well.)

On the other hand, your source code is now littered with miles of text 
which have nothing to do with the compiler error you're now getting...


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.