Discuss Scratch

legendaryhades123
Scratcher
14 posts

why is scratch using blocks instead of commands?

why is scratch is using blocky algorithmic programming language? i just to know, why is it like that? is it because scratch wanted to make things original? or is it because it is a beginner's language? while it is basic and easy, it is i little too basic for making games and animations. while languages such as python use things such as strings etc. i just want to know,why,why is scratch using this kind of style???

Last edited by legendaryhades123 (Feb. 27, 2025 12:54:54)

mybearworld
Scratcher
1000+ posts

why is scratch using blocks instead of commands?

Scratch is meant to be simple for children and beginners to use, which is why it's block based. Scratch does have strings, so I'm not sure what you mean by that part.
legendaryhades123
Scratcher
14 posts

why is scratch using blocks instead of commands?

mybearworld wrote:

Scratch is meant to be simple for children and beginners to use, which is why it's block based. Scratch does have strings, so I'm not sure what you mean by that part.
yes, but now, people are making VERY advanced projects and some need the commands, strings etc. so that is what i am saying(or typing)
mybearworld
Scratcher
1000+ posts

why is scratch using blocks instead of commands?

legendaryhades123 wrote:

(#3)
yes, but now, people are making VERY advanced projects and some need the commands, strings etc. so that is what i am saying(or typing)
Text based coding wouldn't really allow anything fundamentally different - it'd just be what the blocks are, but in text form.
legendaryhades123
Scratcher
14 posts

why is scratch using blocks instead of commands?

mybearworld wrote:

legendaryhades123 wrote:

(#3)
yes, but now, people are making VERY advanced projects and some need the commands, strings etc. so that is what i am saying(or typing)
Text based coding wouldn't really allow anything fundamentally different - it'd just be what the blocks are, but in text form.
oh….
floppasyay
Scratcher
1000+ posts

why is scratch using blocks instead of commands?

Also ST will not add this as a feature, shown in The Official List of Rejected Suggestions:

The Official List of Rejected Suggestions wrote:

2.2 Text-based syntax in Scratch
Some users wish to code Scratch not with the blocks, but with typing code instead (similar to how more advanced programming languages work). Others are interested in an option to view, convert, or download Scratch code to other programming languages. However, the Scratch Team has discussed this possibility multiple times and has decided every time that it would not be beneficial for beginners or teachers.

This suggestion extends to coding, viewing, converting, or downloading Scratch in any text-based language, including BBCode, Javascript, some form of pseudocode, or some other programming language. If you wish to code using another language, then you can learn it on your own, but it would have to be done outside of Scratch. For those who are interested, it may be worth checking out Tosh. It is a text-based programming language that serves as a text editor for Scratch projects. Another option is MakeCode Arcade, a programming language that can convert between block-based and text-based programming within the editor.

~~~

legendaryhades123 wrote:

mybearworld wrote:

Scratch is meant to be simple for children and beginners to use, which is why it's block based. Scratch does have strings, so I'm not sure what you mean by that part.
yes, but now, people are making VERY advanced projects and some need the commands, strings etc. so that is what i am saying(or typing)
People can still achieve these things with blocks, if they can't do it here, it's best to do it somewhere else like the examples in the first quote.
Scratchtheguy1
Scratcher
500+ posts

why is scratch using blocks instead of commands?

Even thought it's kind of bad, it's on purpose. To make kids learn Scratch easier.
HCJSCT
Scratcher
100+ posts

why is scratch using blocks instead of commands?

legendaryhades123 wrote:

why is scratch is using blocky algorithmic programming language? i just to know, why is it like that? is it because scratch wanted to make things original? or is it because it is a beginner's language? while it is basic and easy, it is i little too basic for making games and animations. while languages such as python use things such as strings etc. i just want to know,why,why is scratch using this kind of style???
Scratch is for young people to learn coding, and it is mostly based off of python. They do contain strings.
legendaryhades123
Scratcher
14 posts

why is scratch using blocks instead of commands?

HCJSCT wrote:

legendaryhades123 wrote:

why is scratch is using blocky algorithmic programming language? i just to know, why is it like that? is it because scratch wanted to make things original? or is it because it is a beginner's language? while it is basic and easy, it is i little too basic for making games and animations. while languages such as python use things such as strings etc. i just want to know,why,why is scratch using this kind of style???
Scratch is for young people to learn coding, and it is mostly based off of python. They do contain strings.
ok
IGNITEstudios
Scratcher
1000+ posts

why is scratch using blocks instead of commands?

One of the reasons for blocks and no text syntax (besides making it easier to learn for beginners and children) is the fact that there aren't any runtime errors. You won't make code and try running it, and have nothing happen and an error pop up.

Powered by DjangoBB