Discuss Scratch

NinjaCat19312
Scratcher
12 posts

Rename the "Repeat Until <>" C Block

It is my personal opinion that the “Repeat Until” C Block is incorrectly named. Instead, it should be called “While <> Do”, because in almost every other coding language, that is what it is. It wouldn't change the functionality of the block, though.

If this turns out to be rejected, I understand.

NinjaCat19312

Last edited by NinjaCat19312 (Sept. 20, 2024 16:54:22)

8to16
Scratcher
1000+ posts

Rename the "Repeat Until <>" C Block

Please explain your suggestion instead of just saying “c”

No support, the repeat until <> block is a very useful block and has no good workaround.

Last edited by 8to16 (Sept. 20, 2024 16:52:00)

NinjaCat19312
Scratcher
12 posts

Rename the "Repeat Until <>" C Block

8to16 wrote:

Please explain your suggestion instead of just saying “c”

No support, the repeat until <> block is a very useful block and has no good workaround.

Somehow I accidentally posted it before I was done writing. Please reread the post.
8to16
Scratcher
1000+ posts

Rename the "Repeat Until <>" C Block

Actually, this is not what it does.
“While” is the opposite of “Repeat until.”
There's even a separate while block, although it is only implemented internally and can't be added through the editor.

This is what while would actually be:
repeatuntilnot.... . .
ilovestories
Scratcher
1000+ posts

Rename the "Repeat Until <>" C Block

But the current name better explains the purpose of the block to beginners.
NinjaCat19312
Scratcher
12 posts

Rename the "Repeat Until <>" C Block

8to16 wrote:

Actually, this is not what it does.
“While” is the opposite of “Repeat until.”
There's even a separate while block, although it is only implemented internally and can't be added through the editor.

This is what while would actually be:
repeatuntilnot.... . .

Makes sense.
mysinginmonsters
Scratcher
100+ posts

Rename the "Repeat Until <>" C Block

Repeat until is exactly what it does, and I can't think of a simpler way to say it.
OnTheCode99
Scratcher
500+ posts

Rename the "Repeat Until <>" C Block

What you are suggesting has 2 easy workarounds. You could use an if statement, or
repeatuntilnot
And a while loop is the opposite of repeat until.

No support.
MillionOfficial
Scratcher
500+ posts

Rename the "Repeat Until <>" C Block

Mockup I made
whiledo
mcsquaggle
Scratcher
500+ posts

Rename the "Repeat Until <>" C Block

no support. in most coding languages the code
while <> do
repeats until said condition is not met, it can be whatever condition
so forever loops are just
while true do

repeat until repeats the condition is met.

Powered by DjangoBB