3 ms·
init functions and factory pattern are not orthogonal.
by stcont 4y ago
init functions and factory pattern are not orthogonal.
- languageserver 4y agothat is not the statement. they say C++ sucks because init pattern means an unititialized object might be used. the factory pattern solves that