jmoenig / Snap

a visual programming language inspired by Scratch
http://snap.berkeley.edu
GNU Affero General Public License v3.0
1.49k stars 742 forks source link

Deleting Clones From a Reporter? #1199

Closed cycomachead closed 8 years ago

cycomachead commented 8 years ago

Let's say we create a clone reporter like in BYOB, how would we go about deleting a clone that we have stored in memory?

clones

jmoenig commented 8 years ago

TELL (clone) TO DELETE (this clone)

make sense?

jmoenig commented 8 years ago

Check the examples from the release notes (Oh, you didn't get them, because this morning all my emails to UC Berkeley bounced). Hmm... check the examples in the pdf in the release, there's tons of deleting clones likes this in there.

cycomachead commented 8 years ago

Yeah, I think I realized that 5 minutes after.

For @brianharvey Can we have a clones library for some of the stuff like BYOB? Also can we now change ask and tell to have sprite icons? :)

jmoenig commented 8 years ago

Let's not change ASK and TELL, because you can still just type sprite names into them, which is actually really nice sometimes when you already know who you want to address

cycomachead commented 8 years ago

Let's not change ASK and TELL, because you can still just type sprite names into them, which is actually really nice sometimes when you already know who you want to address

Yeah, I guess that's true. I always found the sprite icon really intuitive for what goes in the slot. (Though I guess the word "Sprite" is too, it's just not as cute.)

brianharvey commented 8 years ago

What do you think we need in a clone library, other than ASK and TELL?

towerofnix commented 8 years ago

DELETE CLONE (object), and maybe DELETE CLONES OF (object)?

cycomachead commented 8 years ago

I was thinking like the clone reporter and maybe a delete clone clone command that has a parameter. 2 blocks doesn't really make a library but I know that many TAs have found the reporter based cloning easier to grasp so I'd like to give that to students at some point.

Michael Ball From my iPhone michaelball.co

On May 2, 2016, at 1:04 PM, Brian Harvey notifications@github.com wrote:

What do you think we need in a clone library, other than ASK and TELL?

— You are receiving this because you modified the open/close state. Reply to this email directly or view it on GitHub

brianharvey commented 8 years ago

Oh. I guess; I kind of think of the reporter as what should be the primitive! But, yeah, there should be a MYSELF reporter and you could just say DELETE (MYSELF).