Stefan;<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Yeah, the trouble with making your own clone method here is that members are initialized once, and then written to again in the clone method. The cool thing about constructors is that it offers a way to make a first initialization of members depending on input to the constructor.<br>
<br></blockquote><div><br></div><div>I see more issues here. A object may contain other objects, which in ChucK&#39;s case might be Shreds. These Shreds have a state and I don&#39;t think it&#39;s clear what we would do with that. For one thing you couldn&#39;t make a *exact* clone in that case as both the original&#39;s Shred and the clone&#39;s would need to be shreduled and they can&#39;t be shreduled at the same spot (though of course they may be a the same logical time).</div>
<div><br></div><div>This seems natural and even interesting, considering the many thought experiments about clones that slowly deviate from the original, but it&#39;s something that would have to be kept in mind.</div><div>
<br></div><div>Just my cents,</div><div>Kas.</div></div>