POV-Ray : Newsgroups : povray.off-topic : C++ structuring help.... : Re: C++ structuring help.... Server Time
10 Oct 2024 17:17:52 EDT (-0400)
  Re: C++ structuring help....  
From: Michael Raiford
Date: 20 Mar 2008 20:46:57
Message: <47e31391$1@news.povray.org>
Warp wrote:

>   You are on the right track, though: Global variables should and can
> be avoided (there are very few exceptions to this rule, of which eg.
> std::cout is a good example (I consider std::cout to be a "global" variable
> even though it's inside a namespace), where practicality compensates
> globality more than enough), and clean abstract designs should be preferred.

OOC, do you consider static members to be global? They're not tied to an 
instance of an object, but are generally available throughout the 
program (if made public)


Post a reply to this message

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