19 ms·
> We used init functions at my last job has the factory pattern somehow managed to crawl into a hole?
by languageserver 4y ago
> We used init functions at my last job
has the factory pattern somehow managed to crawl into a hole?
- stcont 4y agoinit 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