Hacker News new | ask | show | jobs
by stcont 1411 days ago
init functions and factory pattern are not orthogonal.
1 comments

that is not the statement. they say C++ sucks because init pattern means an unititialized object might be used. the factory pattern solves that