POV-Ray : Newsgroups : povray.general : subtle problem with /*...*/ comment block : Re: subtle problem with /*...*/ comment block Server Time
2 Jan 2025 10:48:57 EST (-0500)
  Re: subtle problem with /*...*/ comment block  
From: jr
Date: 22 Dec 2024 05:05:00
Message: <web.6767e2d6f8229af4b2e841a6cde94f1@news.povray.org>
hi,

William F Pokorny <ano### [at] anonymousorg> wrote:
> On 12/21/24 09:42, Kenneth wrote:
> > BTW: In the world of computing, is there an actual standardized*name* for
> >      /*  or  */   ??
> I'm not aware of a standard name.
> ...
> I don't myself use 'open-indicator to close-indicator' block style
> comments - as a rule. Rather the single line forms like '//' - even for
> multiple line comments. ...

personally, I think that the "C-style commenting" has two advantages over the
to-end-of-line construct.  the obvious is long comments being wrapped and
mistaken (by parser) for code; a real bitch when one's unfamiliar with the code.
 the second is more of a personal aesthetic/preference, so

code
more code

/* separated, or "broken up", by comments which stand out visually
 * when formatted like so, are "easy" on my eyes.  :-)
 */

code
yet mode code



but, as with all, "YMMV".


regards, jr.


Post a reply to this message

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