Y
Hacker News
new
|
ask
|
show
|
jobs
by
gpderetta
922 days ago
Because two phase construction is a widely disliked idiom. Named constructors retuning optional objects are tolerable though.
1 comments
jupp0r
922 days ago
Two phase construction isn't widely disliked, it's completely fine if it's used as an implementation detail of a factory.
link