Mark Atwood via devel <devel@ntpsec.org>:
> Putting the globals into a controlled struct make them easier to reason
> about, both for humans and for source code analysis.  And even if the
> resulting struct is little more than the "globals dumping ground", it does
> force that they all be declared in one single place, in a place where you
> have to admit "this is a global".

+1

Ian and I had a long chat about this on IRC.
-- 
                <a href="http://www.catb.org/~esr/";>Eric S. Raymond</a>

My work is funded by the Internet Civil Engineering Institute: https://icei.org
Please visit their site and donate: the civilization you save might be your own.


_______________________________________________
devel mailing list
devel@ntpsec.org
http://lists.ntpsec.org/mailman/listinfo/devel

Reply via email to