3 ms·
Plus some additional reasons: if a singleton is initialized on first use, it might be hard to reason about which kind of environment exists when it is initializ
by klodolph 14y ago
Plus some additional reasons: if a singleton is initialized on first use, it might be hard to reason about which kind of environment exists when it is initialized -- what locks are held, etc.