J
joe
The subject is the question. Furthering, doesn't it make sense to
consolidate code in a "main" constructor and have other ones use it to
provide different instantiation ways for a class? (rhetorical, I think,
because I think so). It's all about providing a rich class instantiation
interface to users (programmers) while having maintainable and reliable
source code, and allowing one constructor to "call" another (quotes used
because I just want the capability and am not too worried about the
syntax) gives exactly that.
consolidate code in a "main" constructor and have other ones use it to
provide different instantiation ways for a class? (rhetorical, I think,
because I think so). It's all about providing a rich class instantiation
interface to users (programmers) while having maintainable and reliable
source code, and allowing one constructor to "call" another (quotes used
because I just want the capability and am not too worried about the
syntax) gives exactly that.