Discuss Scratch
- NMario84
-
1000+ posts
Remove change my variable
No support.
Both methods (change by 1, and set to +1) suggested work equally fine. There shouldn’t be any lag of the already existing command lines though.
Both methods (change by 1, and set to +1) suggested work equally fine. There shouldn’t be any lag of the already existing command lines though.
- US-Systems
-
1000+ posts
Remove change my variable
Remove change my variable by (value). It is used by many people but the thing is that the user might find it tricky to learn other programming languages eg: javascript.. its better if the user uses set my variable to (variable+1). It might improve the editor loading speed too. The editor will still beI completely disagree, asking to insert it in the TOLORS.
the same but the blocks will be reduced and the block is useless but it makes scratch easy to use.
It would be a good habit to use that method because if the user kept using change my variable they would find it challenging to make text-based programming language projects. The user might get confused too. Because they used to use change my variable in their projects.
What do you think about this theory?
- Reev0102
-
1000+ posts
Remove change my variable
WHY do you disagree? You should be constructive. I completely disagree, asking to insert it in the TOLORS.
- mybearworld
-
1000+ posts
Remove change my variable
Your reasoning is flawed. Most programming languages have
, for example Python, Javascript, C, C++, Java…

- scratchgodo
-
1000+ posts
Remove change my variable
that can confuse some scratchers and Support, this is used in more advanced programming languages although we should allow all projects with the block to retain it and as long as there is some way to drag the two blocks onto the stage together rather than having to assemble this every time (the variable reported should change with the dropdown)
colinmacc wrote
you can't really remove things that will break millions of projects. it's just not worth it.
Last edited by scratchgodo (Aug. 24, 2021 08:37:01)
- -EmeraldThunder-
-
1000+ posts
Remove change my variable
that can confuse some scratchers andcolinmacc wrote
you can't really remove things that will break millions of projects. it's just not worth it.
We should allow all projects with the block to retain it.
- DarthVader4Life
-
1000+ posts
Remove change my variable
I think you are forgetting that this is supposed to be an introductory programming language. As said before, there are a lot of projects that use the block that's been suggested to be removed. I don't believe that taking this away and replacing it will make Scratch easier to learn, which is one of the goals that the Scratch Team strive for. (Not to mention that it should have been removed a long time ago, because now practically everyone knows what it is and is used to it.) Honestly I think that the people supporting this are among the few who would want this.
- han614698
-
1000+ posts
Remove change my variable
introductory programming language. As said before, there are a lot of projects that use the block that's been suggested to be removed. I don't believe that taking this away and replacing it will make Scratch easier to learn, which is one of the goals that the Scratch Team strive for. (Not to mention that it should have been removed a long time ago, because now practically everyone knows what it is and is used to it.) Honestly I think that the people supporting this are among the few who would want this.Right. Whilst Scratch is supposed to get you ready for more advanced programming, it’s supposed to be simple itself. I think you are forgetting that this is supposed to be an
Also, if this was implemented, All “change (var) by x” could be replaced by “set (var) to (var) + x”.
- PATSATDAT
-
1000+ posts
Remove change my variable
no support JavaScript has it
var thing = 0; thing += 1;
- Tunde123
-
1000+ posts
Remove change my variable
This isn't JavaScript though… no support JavaScript has itvar thing = 0; thing += 1;
And I don't support. Why would you want to Remove change my variable?
- Reev0102
-
1000+ posts
Remove change my variable
As stated multiple times, all other programming languages don't have such a function. They all haveThis isn't JavaScript though… no support JavaScript has itvar thing = 0; thing += 1;
And I don't support. Why would you want to Remove change my variable?
set [foo v] to ((foo) + (1))
// javascript foo = foo + 1;
# python foo = foo + 1
// c++ foo = foo + 1;
- Wei-ern_520
-
500+ posts
Remove change my variable
But for python I useAs stated multiple times, all other programming languages don't have such a function. They all haveThis isn't JavaScript though… no support JavaScript has itvar thing = 0; thing += 1;
And I don't support. Why would you want to Remove change my variable?set [foo v] to ((foo) + (1))// javascript foo = foo + 1;# python foo = foo + 1// c++ foo = foo + 1;
foo+=1
all the time.
- Wei-ern_520
-
500+ posts
Remove change my variable
Besides, if so, why not just remove the forever loop block too since it does not exist in other languages and can easily be done with this:
Because it is like so in python:
while True:
The code
Since repeat until not is the same as a while loop.
repeat until <not<(true)=(true)>>
...
end
Because it is like so in python:
while True:
The code
Since repeat until not is the same as a while loop.
Last edited by Wei-ern_520 (Aug. 24, 2021 13:49:17)
- kccuber
-
1000+ posts
Remove change my variable
Yeah. Even Swift has that. No support, because most languages have a “change var” code. Your reasoning is flawed. Most programming languages have, for example Python, Javascript, C, C++, Java…
- scratchgodo
-
1000+ posts
Remove change my variable
please make a new topic for your suggestion Besides, if so, why not just remove the forever loop block too since it does not exist in other languages and can easily be done with this:repeat until <not<(true)=(true)>>
...
end
Because it is like so in python:
while True:
The code
Since repeat until not is the same as a while loop.
- mrcreatorluigi
-
1000+ posts
Remove change my variable
Like Darth said, this is an introduction into programming, making it easy to understand. No support.
- Wei-ern_520
-
500+ posts
Remove change my variable
No, thats not a suggestion, im not suggesting to add them as well. Im just saying what others can be possibly removed too.please make a new topic for your suggestion Besides, if so, why not just remove the forever loop block too since it does not exist in other languages and can easily be done with this:repeat until <not<(true)=(true)>>
...
end
Because it is like so in python:
while True:
The code
Since repeat until not is the same as a while loop.
Last edited by Wei-ern_520 (Aug. 24, 2021 14:37:58)
- Xolay
-
1000+ posts
Remove change my variable
No support. The change ( v) by () is for aumenting or diminish, not the set one.
- amazingscratchcoder
-
100+ posts
Remove change my variable
Does removing it really make learning text-based programming languages any easier or simpler to understand? I don't think so. This would also make using the block more annoying as you have to drag 2 extra blocks each time.
Of course it would cause now it’s the same thing. Support
- Tronche2Cake
-
100+ posts
Remove change my variable
No support: Removing useful features for the sake of potentially making the lives of a few people a tiny bit easier, is a poor choice in my opinion.
It would make it 3 times as tiedious to use this block, and would almost never be beneficial.
I see where you're coming from, however it wouldn't help that many people. They won't learn new languages by typing random things until it works, they'll watch tutorials or something. Even assuming it actually happens, they'll guess and understand the workaround in a matter of seconds. (That's what happened when I started learning Python)
Rebranding the block to
It would make it 3 times as tiedious to use this block, and would almost never be beneficial.
I see where you're coming from, however it wouldn't help that many people. They won't learn new languages by typing random things until it works, they'll watch tutorials or something. Even assuming it actually happens, they'll guess and understand the workaround in a matter of seconds. (That's what happened when I started learning Python)
Rebranding the block to
set [foo] to foo + []could be a viable option, though.