3 ms·
Are you saying this to violently agree with the OP? He covers exactly this in his section "What is the problem with global objects with constructor?", where he
by mpyne 13y ago
Are you saying this to violently agree with the OP? He covers exactly this in his section "What is the problem with global objects with constructor?", where he even points out the function-scope macro that can be used to help alleviate the problem.
- apaprocki 13y agoYes, but I feel it is not stated prominently/strongly enough. Having them can easily lead to a lot of other problems down the line, so to me it's not so much a recommendation as an order -- don't do this!