TempoClock can be copied! Ack!

View: New views
2 Messages — Rating Filter:   Alert me  

TempoClock can be copied! Ack!

by James Harkins-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

TempoClock.default === TempoClock.default.copy

That seems really bad to me, almost as bad as copying a routine. I'm surprised I didn't get weird crashes.

Any objection to adding this?

+ TempoClock {
copy {}
}

hjh


: H. James Harkins

: jamshark70@...

: http://www.dewdrop-world.net

.::!:.:.......:.::........:..!.::.::...:..:...:.:.:.:..:


"Come said the Muse,

Sing me a song no poet has yet chanted,

Sing me the universal."  -- Whitman



_______________________________________________
Sc-devel mailing list
Sc-devel@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-devel

Re: TempoClock can be copied! Ack!

by James Harkins-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On May 17, 2008, at 3:21 PM, James Harkins wrote:

TempoClock.default === TempoClock.default.copy

(This is false when I would expect true, of course)

That seems really bad to me, almost as bad as copying a routine. I'm surprised I didn't get weird crashes.

Any objection to adding this?

+ TempoClock {
copy {}
}

Actually I think we need deepCopy and shallowCopy as well.
hjh


: H. James Harkins

: jamshark70@...

: http://www.dewdrop-world.net

.::!:.:.......:.::........:..!.::.::...:..:...:.:.:.:..:


"Come said the Muse,

Sing me a song no poet has yet chanted,

Sing me the universal."  -- Whitman



_______________________________________________
Sc-devel mailing list
Sc-devel@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-devel