Discuss Scratch

Warriorbuilds3
Scratcher
100+ posts

Making Different Coding Languages Available on Scratch

Hello there! Thanks in advance for reading this!
I'll get straight to the point.
Currently, scratch works on a drag-and-click style coding language, which is cool and all, but I personally want to see other languages in scratch aside from the one we currently have. Why? I'll tell you.
First, let's go over a pros and cons about the current version of scratch, shall we?
PROS
  • Easy to learn
  • Easy to debug
  • Versatile enough to work for several different types of coding projects
  • Can be object-oriented(ish)
CONS
  • Coding using scratch takes much longer than needed
  • Coders who know other languages cannot use them in scratch
  • Scratch becomes irrelevant in teaching code once middle school or high school comes around due to scratch's code language having a simple lack of use in pretty much every field out there.
This is why I want different coding languages an option in scratch. Unlike scratch's drag-and-click language, typed languages are usually faster to make projects out of because drag-and-click takes a lot of scrolling back and forth between different sections, while typed languages just takes a bit of typing. I'm well aware that some languages take longer to type than others, and that some people can be slow typers, but it's still something worth considering as typed languages are used in several different jobs. Given how many jobs involve Java, HTML, Python, Javascript, C#, C++, and several other programming languages, I don't think it would hurt to add a few coding languages as an option.

Of course, scratch's original drag-and-click language would be the default for projects, so as not to confuse new scratchers on creating their first project, but it would be an option that would pop up when the new project button would be pressed.

As for converting already existing projects into these other languages, I don't know how that would work. Project conversion from one language to another may be impossible.

Thanks again for reading this! Be sure to share your opinion on this!
PizzaAddict4Life
Scratcher
1000+ posts

Making Different Coding Languages Available on Scratch

Most other coding languages are text-based, which is rejected:

Za-Chary 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 for teachers. One amazing thing about block-based programming is that syntax errors largely do not exist. Text-based programming would introduce syntax errors which younger users might not understand, and may distract students from learning the Scratch language.

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 which serves as a text editor for Scratch projects.

If there are other block-based programs then the ST encourages you to go to those also, along with text based ones, but I do not believe they will be implemented.

It is not rejected in itself, but most possibilities of this idea are rejected.
Warriorbuilds3
Scratcher
100+ posts

Making Different Coding Languages Available on Scratch

PizzaAddict4Life wrote:

Most other coding languages are text-based, which is rejected:

Za-Chary 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 for teachers. One amazing thing about block-based programming is that syntax errors largely do not exist. Text-based programming would introduce syntax errors which younger users might not understand, and may distract students from learning the Scratch language.

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 which serves as a text editor for Scratch projects.

If there are other block-based programs then the ST encourages you to go to those also, along with text based ones, but I do not believe they will be implemented.

It is not rejected in itself, but most possibilities of this idea are rejected.
So should I close this topic, or should I leave it open since there are still some possibilities that haven't been rejected yet?
PizzaAddict4Life
Scratcher
1000+ posts

Making Different Coding Languages Available on Scratch

Warriorbuilds3 wrote:

PizzaAddict4Life wrote:

-snip-
So should I close this topic, or should I leave it open since there are still some possibilities that haven't been rejected yet?

It isn't rejected, and still in the realm of possibilities, so don't close it

Last edited by PizzaAddict4Life (June 15, 2020 20:13:46)

Warriorbuilds3
Scratcher
100+ posts

Making Different Coding Languages Available on Scratch

Alrighty then… I'll keep it open.
Strajox
Scratcher
100+ posts

Making Different Coding Languages Available on Scratch

No support.

1. People can always download other programming languages.
2. Imagine what it would take on the offline editor. It would take a few megabytes (or possibly gigabytes) of storage for a single language.
2.1 Even if you could choose what language you want to install, I still think that it is easier to just install the real language yourself. Also, a lot of
languages don't really fit in the scratch space. For example: In Python, you need to make your own window for a “stage” instead of a pre-made one.
3. I don't really know how would this even be implemented in the first place. It is pretty hard to put a whole language in a site.
Za-Chary
Scratcher
1000+ posts

Making Different Coding Languages Available on Scratch

PizzaAddict4Life wrote:

Most other coding languages are text-based, which is rejected:

Za-Chary 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 for teachers. One amazing thing about block-based programming is that syntax errors largely do not exist. Text-based programming would introduce syntax errors which younger users might not understand, and may distract students from learning the Scratch language.

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 which serves as a text editor for Scratch projects.

If there are other block-based programs then the ST encourages you to go to those also, along with text based ones, but I do not believe they will be implemented.

It is not rejected in itself, but most possibilities of this idea are rejected.
Thanks for tracking down this quote!

I fail to see how this is not rejected. The OP's suggestion is exactly for other programming languages in Scratch, particularly the text-based ones. Hence it falls under the quote you provided.

If there is some confusion as to why this suggestion is same as “Text-based syntax in Scratch,” please contact me on my profile to ask any questions about it.

Powered by DjangoBB