Discuss Scratch

MixelFanUTTP
Scratcher
39 posts

If Blocks Renaming

It will be better if the If Blocks were renamed the “When Blocks”
Here's what the blocks will look like

when <> then
end

when <> then 



else
end

Do you agree?

Last edited by MixelFanUTTP (July 30, 2019 18:14:43)

-Reshiram-
Scratcher
100+ posts

If Blocks Renaming

MixelFanUTTP wrote:

when <> then {
} :: control


when <> then {
} else {
} :: control
FTFY
—————-
No support. When New Scratchers look at an
if <> :: control
end
block, they know exactly what it does: it will check a condition, if it's true then the code inside the block would run, if it's false it would skip.
If they looked at a
when <> {
} :: control
block, they would think that it would wait for the condition to be true.
—————-
Fun fact: there used to be a block of the same name in an early version of Scratch, but it was removed because it was glitchy.
when <> :: hat control

I am now @SquirreIstar with an i, as in “I used to be -Reshiram-”
WindOctahedron
Scratcher
1000+ posts

If Blocks Renaming

No support.
It would be more confusing. “If” is a conditional word in English, so is the block. “When” is a conjunction, and in programming, it indicates that something starts, not happens if something is true or false at any point at any time.

The message above may contain wrong information, rude remarks, or something embarrassing to my current self. In this case, please ignore it and remember that I likely wrote it back when I didn't know what “respect” truly meant. I really hate thinking about it again.
Sheep_maker
Scratcher
1000+ posts

If Blocks Renaming

In addition, “if” is the keyword used in effectively all other programming languages, so it's best to minimize the differences between Scratch and those languages to make the transition between them smoother.

- Sheep_maker This is a kumquat-free signature. :P
This is my signature. It appears below all my posts. Discuss it on my profile, not the forums. Here's how to make your own.
.postsignature { overflow: auto; } .scratchblocks { overflow-x: auto; overflow-y: hidden; }
DaEpikDude
Scratcher
1000+ posts

If Blocks Renaming

Eh, I feel like “if (…) then” is intuitive enough to understand, and I don't see much point in renaming it: especially as “if (…)” is used in pretty much every language (as @Sheep_maker pointed out).

And all the world over, each nation's the same,
They've simply no notion of playing the game.
They argue with umpires, they cheer when they've won,
And they practice beforehand, which ruins the fun!
discussion_man
New to Scratch
89 posts

If Blocks Renaming

No support. Nearly early every other programming language uses if, not when. If is also fairly intuitive imo.

If you wanna talk about anything for any reason, leave a comment on my profile!

I don't know what I'm doing
DipLeChip
Scratcher
1000+ posts

If Blocks Renaming

As @discussion_man said, majority of programming languages use the “if” statements, and like the others above said, “if” and “when” are different commands. It's important to keep it as “if” so people can go on to learn more advanced languages and see familiar code.

So, No support

stop fuming and start loving :p

Powered by DjangoBB