Discuss Scratch
- the2000
-
Scratcher
1000+ posts
"PYMode" [READ FULL POST]
You could say the same thing about adjusting the block colors but they added that to Scratch 2.0 anyway.2.3 Set the editor to look like older versions of ScratchThat also applies to this suggestion.
Some users prefer the look and feel of the Scratch 2.0 editor, and have suggested that the editor look like Scratch 2.0, but still run off of HTML5 like Scratch 3.0 does. However, this would be more complicated for educational and documentation purposes. It could be confusing if someone is trying to learn Scratch from someone who is using a completely different layout of the editor than them.
In addition, the Scratch Team changed the design for a reason: to make it easier, more intuitive, and friendlier for newcomers to use. If you dislike the Scratch 3.0 editor, you can still download the Scratch 1.4 or Scratch 2.0 offline editors.
Edit: Ayy, king of the page!
Last edited by the2000 (Feb. 4, 2021 17:44:34)
- mybearworld
-
Scratcher
1000+ posts
"PYMode" [READ FULL POST]
I think this would be rejected for the same reason as a 2.0 or 1.4 style.How is this related to that at all?2.3 Set the editor to look like older versions of ScratchThat also applies to this suggestion.
Some users prefer the look and feel of the Scratch 2.0 editor, and have suggested that the editor look like Scratch 2.0, but still run off of HTML5 like Scratch 3.0 does. However, this would be more complicated for educational and documentation purposes. It could be confusing if someone is trying to learn Scratch from someone who is using a completely different layout of the editor than them.
In addition, the Scratch Team changed the design for a reason: to make it easier, more intuitive, and friendlier for newcomers to use. If you dislike the Scratch 3.0 editor, you can still download the Scratch 1.4 or Scratch 2.0 offline editors.
I'll be honest, this looks cool. Somewhat unnecessary, but it's still cool.(https://scratch.mit.edu/discuss/post/4643803/)
I'm also here to confirm that this is not rejected (before anyone tries saying otherwise).
- Greg8128
-
Scratcher
500+ posts
"PYMode" [READ FULL POST]
Sorry for the late reply. Anyway:No support, this isn't a good way to teach how Scratch code corresponds to code in other languages. The difference between Scratch, JavaScript and Python isn't just syntax. If code written in Scratch was translated literally to Python code then the result would be very bad Python code. Same goes with JavaScript and basically every other language out there.Give some examples, please
- Most programming languages have local variables. Scratch does not. In Scratch, each variable exists only once in each sprite. If you want local variables, you must create your own stack.
- Most programming languages allow functions to return a value (think custom reporters). Scratch does not. You must create your own system for managing return types.
- Most programming languages have efficient implementations for sets and maps. Scratch does not. You must implement your own efficient implementation or use the inefficient workarounds:
<[values v] contains [thing] ?>
(item (item # of ( thing ) in [keys v] :: list) of [values v] :: list) - Most programming languages have support for dynamic memory allocation. Some even have automatic garbage collection. Doing the first in Scratch is hard, doing the second in Scratch is very hard.
- Maximouse
-
Scratcher
1000+ posts
"PYMode" [READ FULL POST]
You could say the same thing about adjusting the block colors but they added that to Scratch 2.0 anyway.You could even say that about different languages.
- Futurebot5
-
Scratcher
1000+ posts
"PYMode" [READ FULL POST]
And then after that they removed it.You could say the same thing about adjusting the block colors but they added that to Scratch 2.0 anyway.2.3 Set the editor to look like older versions of ScratchThat also applies to this suggestion.
Some users prefer the look and feel of the Scratch 2.0 editor, and have suggested that the editor look like Scratch 2.0, but still run off of HTML5 like Scratch 3.0 does. However, this would be more complicated for educational and documentation purposes. It could be confusing if someone is trying to learn Scratch from someone who is using a completely different layout of the editor than them.
In addition, the Scratch Team changed the design for a reason: to make it easier, more intuitive, and friendlier for newcomers to use. If you dislike the Scratch 3.0 editor, you can still download the Scratch 1.4 or Scratch 2.0 offline editors.
Edit: Ayy, king of the page!
It is not likely that people in the same class would have different language settings.You could say the same thing about adjusting the block colors but they added that to Scratch 2.0 anyway.You could even say that about different languages.
- TheGlassPenguin
-
Scratcher
1000+ posts
"PYMode" [READ FULL POST]
I rate this suggestion a [5 v] out of [5]. ::hat #5CB712
I support. ::#2CA5E2
comment: [This would help people learn what the Scratch blocks (not talking about the forum tag) equal in other programming languages. ]
-TheGlassPenguin ::cap #4A6CD4
Last edited by TheGlassPenguin (Feb. 4, 2021 20:21:53)
- Maximouse
-
Scratcher
1000+ posts
"PYMode" [READ FULL POST]
It is not likely that people in the same class would have different language settings.It is not likely that only some would have PyMode either.
- Futurebot5
-
Scratcher
1000+ posts
"PYMode" [READ FULL POST]
Would it be likely only some people would have 2.0 mode? No. Did they reject it? Yes.rebot5 wrote:It is not likely that people in the same class would have different language settings.It is not likely that only some would have PyMode either.
- the2000
-
Scratcher
1000+ posts
"PYMode" [READ FULL POST]
And? You're arguing a point that a Scratch Team member literally said is incorrect. What are you even trying to get out of debating at this point?Would it be likely only some people would have 2.0 mode? No. Did they reject it? Yes.rebot5 wrote:It is not likely that people in the same class would have different language settings.It is not likely that only some would have PyMode either.
- Rendangbike2
-
Scratcher
1000+ posts
"PYMode" [READ FULL POST]
What the OP wants to do is create something that will help users advance to other languages. Leopard already does that.No support. You can use leopardLeopard doesn't use blocks, It uses a modified JS, The only thing close to this is EduBlocks but it's in Python.
Leopard doesn't use blocks, It uses a modified JS,
But I think we can create a mode called “PYMode” where you would still have drag'n'drop, but it would look more like a real programming language:
Last edited by Rendangbike2 (Feb. 5, 2021 00:58:14)
- mybearworld
-
Scratcher
1000+ posts
"PYMode" [READ FULL POST]
Thank you!I rate this suggestion a [5 v] out of [5]. ::hat #5CB712
I support. ::#2CA5E2
comment:
[This would help people learn what the Scratch blocks (not talking about the forum tag) equal in other programming languages. ]::stack
-TheGlassPenguin ::cap #4A6CD4
If I'm not wrong - aren't all these things programming languages have but scratch not?
- Most programming languages have local variables. Scratch does not. In Scratch, each variable exists only once in each sprite. If you want local variables, you must create your own stack.
- Most programming languages allow functions to return a value (think custom reporters). Scratch does not. You must create your own system for managing return types.
- Most programming languages have efficient implementations for sets and maps. Scratch does not. You must implement your own efficient implementation or use the inefficient workarounds:
<[values v] contains [thing] ?>
(item (item # of ( thing ) in [keys v] :: list) of [values v] :: list)- Most programming languages have support for dynamic memory allocation. Some even have automatic garbage collection. Doing the first in Scratch is hard, doing the second in Scratch is very hard.
When I first learned python, I also looked at what scratch and python have in common.
We don't need a complete python simulator, but just different text.
- RethinkingVoxels
-
Scratcher
1000+ posts
"PYMode" [READ FULL POST]
+1! I'm looking into python and this would be a great addition
- mybearworld
-
Scratcher
1000+ posts
"PYMode" [READ FULL POST]
- The following looks like a regular Python function call.
self.say\("[Hello, world]"\) :: looksHowever, as soon as you put a reporter in it, it stops looking correct.self.say\("(my variable)"\) :: looksThis looks like it'll print the literal text my variable, as opposed to the value of the variable. This is probably fixable, but would make this mode a lot more difficult than just a locale change. - I'm not sure if Python is the best language to use for this?









