Discuss Scratch

Dungions_and_Dragons
Scratcher
31 posts

Why does scratch use coding blocks?

I am curious on something, why does scratch's coding language use coding blocks instead of typing out code, I'm also curious on how the developers came up with that idea, if anyone can answer my question that would be great

when green flag clicked
wait until <(answer) = [1]>
stop [post]

According to all known laws of aviation, there is no way a bee should be able to fly. Its wings are too small to get its fat little body off the ground. The bee, of course, flies anyway, because bees don't care what humans think is impossible
Za-Chary
Scratcher
1000+ posts

Why does scratch use coding blocks?

The coding blocks are used to help give a visual representation of computer programming. The drag-and-drop nature of the blocks is more intuitive for new coders, and also helps avoid things like syntax errors that are common in other programming languages.

This is my forum signature! On a forum post, it is okay for Scratchers to advertise in their forum signature. The signature is the stuff that shows up below the horizontal line on the post. It will show up on every post I make.

I was a Scratch Team member from May 10th 2019 to October 29th 2021.

my notebook | scratch team essay | accessibility essay
Dungions_and_Dragons
Scratcher
31 posts

Why does scratch use coding blocks?

Za-Chary wrote:

The coding blocks are used to help give a visual representation of computer programming. The drag-and-drop nature of the blocks is more intuitive for new coders, and also helps avoid things like syntax errors that are common in other programming languages.
Thanks dude, hope you have a good day

According to all known laws of aviation, there is no way a bee should be able to fly. Its wings are too small to get its fat little body off the ground. The bee, of course, flies anyway, because bees don't care what humans think is impossible
BigNate469
Scratcher
1000+ posts

Why does scratch use coding blocks?

Za-Chary wrote:

The coding blocks are used to help give a visual representation of computer programming. The drag-and-drop nature of the blocks is more intuitive for new coders, and also helps avoid things like syntax errors that are common in other programming languages.
Yup. It's actually been rejected by the Scratch Team to make a text-based version (there's a link to The Official list of Rejected Suggestions in my signature, go there to learn more).
As someone who uses text-based programing languages, they can be a pain when you have the smallest of syntax errors that take hours to fix because you can't find them.

Highlight any part of this signature and press ctrl+shift+down arrow to see the rest of it
forever
if <person asks [what's a signature] :: sensing> then
Redirect to [https://en.scratch-wiki.info/wiki/Signature] :: motion
end
end
Please read the list of Officially Rejected Suggestions before posting a suggestion for Scratch! 100th post
This signature is designed to be as helpful as possible.
View all of the topics you've posted in:
https://scratch.mit.edu/discuss/search/?action=show_user&show_as=topics
View all of your posts:
https://scratch.mit.edu/discuss/search/?action=show_user&show_as=posts
Forum tips:
Don't post in topics where the latest post is over ~2 months old, unless you have something critical to add. Especially in topics that are several years old- it isn't helpful, and is known as necroposting.
Don't post unrelated things in topics, including questions of your own. Make a new topic for your questions.
You can use the
 [color=color name or hexadecimal value here] and [/color] 
tags to color text.
Lesser-known Scratch URLs:
https://scratch.mit.edu/projects/PROJECT ID HERE/remixtree (replace “PROJECT ID HERE” with project id number. Shows all the remixes of the project, and the remixes of those projects, and the remixes of those projects, and so on, as a chart. Link currently redirects to one of my projects)
View a larger list at: https://scratch.mit.edu/discuss/topic/542480/
Why @Paddle2See's responses are so often identical: https://scratch.mit.edu/discuss/topic/762351/
1000th post
_kethan_110511_
Scratcher
95 posts

Why does scratch use coding blocks?

Dungions_and_Dragons wrote:

I am curious on something, why does scratch's coding language use coding blocks instead of typing out code, I'm also curious on how the developers came up with that idea, if anyone can answer my question that would be great

when green flag clicked
wait until <(answer) = [1]>
stop [post]
because Scratch is 8+, they use building blocks instead of JavaScript text code. not everyone knows how to use JavaScript

“_kethan_110511_ is a dedicated and hardworking individual with a passion for coding. They are known for their creativity, attention to detail, and strong work ethic. Outside of work, they enjoy watching YouTube Shorts and spending time with friends and family.”
- Grammarly


lol i got an ai to make my siggy for me
ajskateboarder
Scratcher
1000+ posts

Why does scratch use coding blocks?

Dungions_and_Dragons wrote:

I'm also curious on how the developers came up with that idea, if anyone can answer my question that would be great
This was actually a super novel idea at the time - the main inspiration for drag and drop block programming stems from a smaller MIT project named LogoBlocks

Powered by DjangoBB