Discuss Scratch

TheBaton
Scratcher
500+ posts

New Block to act like a break statement

No support. Although this is a helpful idea, we have repeat until <> for a reason, and we should just use that.
Catzcute4
Scratcher
500+ posts

New Block to act like a break statement

TheBaton wrote:

No support. Although this is a helpful idea, we have repeat until <> for a reason, and we should just use that.
Sure, we do, but break; is a common statement in most programming languages, and it’s pretty simple (like if <> then () else () and custom reporters, two other suggusted ideas). Also, having the extra condition in the break makes thing less readable, and “share” is in scratch’s motto: a break; block makes things way more readable, and thus more shared and remixable.
medians
Scratcher
1000+ posts

New Block to act like a break statement

medians wrote:

Bringing this topic up.
Moss-Star44
Scratcher
73 posts

New Block to act like a break statement

when I receive [Forum Exists v]
say [I support!]

Powered by DjangoBB