3 ms·
> No matter how many times you import foo Just don't reload it.
by njharman 17y ago
> No matter how many times you import foo
Just don't reload it.
- sophacles 17y agoWell, as far as I am concerned, if import foo is the same as instantiating foo, then reload is calling destructor then instantiation again. How is this worth comment? In a discussion of c++ singletons would you comment "Just dont call delete fooptr; fooptr = new foo();"?
- mdg 17y agofrom foo import bar