Hacker News new | past | comments | ask | show | jobs | submit login

Because two phase construction is a widely disliked idiom. Named constructors retuning optional objects are tolerable though.



Two phase construction isn't widely disliked, it's completely fine if it's used as an implementation detail of a factory.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: