Hello list. I'm searching for the opinion of experienced developers:<br><br>In which case do you create specialized class message for instantiating an object?<br><br>I think two factors are fundamental:<br>1) You want to enforce correcteness of your objects by making sure they are complete, so you "minimize" #new and provide specialized messages for creation.
<br>2) You do not want to enforce anything until real usage experience shows you which messages you must "promote" to the class side.<br><br>My personal view is 2) would be more humble at first, but since this is a question so dependent of the domain you're implementing and your knowledge about it, I'd like to know which patterns or approaches have you seen or taken through the years.
<br>Thanks.<br><br>