On Wed, Sep 10, 2014 at 03:55:12PM +0200, Werner LEMBERG wrote:
> 
> > Because it consumes space in BSS, or DATA -- and then even causing
> > linker work upon loading time, even if never used.
> > A program with a DATA section is shit ;)
> 
> Well, I don't care :-) groff uses static constructors to initialize
> some of the global variables, this is a very nice and elegant feature
> of C++.
> 
> 
The problem with global variables is their long range effect, comparable with 
the infamous
goto statement: considered harmful.

        ulrich

Reply via email to