3 ms·
Because two phase construction is a widely disliked idiom. Named constructors retuning optional objects are tolerable though.
by gpderetta 3y ago
Because two phase construction is a widely disliked idiom. Named constructors retuning optional objects are tolerable though.
- jupp0r 3y agoTwo phase construction isn't widely disliked, it's completely fine if it's used as an implementation detail of a factory.