POV-Ray : Newsgroups : povray.unofficial.patches : pvmpovray35 release : Re: pvmpovray35 release Server Time
8 Jul 2024 17:27:09 EDT (-0400)
  Re: pvmpovray35 release  
From: Michael Goldshteyn
Date: 12 Dec 2002 12:18:04
Message: <3df8c4cc@news.povray.org>
Maybe in C, in C++ your types and constants should have the scope of the
class or namespace they are defined in, thus only cluttering that namespace,
if you can even consider that clutter.

Mike

"Thorsten Froehlich" <tho### [at] trfde> wrote in message
news:3df8585a$1@news.povray.org...
> In article <3df7e833@news.povray.org> , "Apache"
> <apa### [at] yahoocom> wrote:
>
> > Peopla at university taught me this very thing: put types and constants
in
> > header file.
>
> Which is completely wrong:  Only put types and constants used in more than
> one source file into a header file.  Otherwise you just clutter the
> namespace, regardless of the language being used.
>
>     Thorsten
>
> ____________________________________________________
> Thorsten Froehlich, Duisburg, Germany
> e-mail: tho### [at] trfde
>
> Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

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