Discuss Scratch
- PkmnQ
-
1000+ posts
"PYMode" [READ FULL POST]
If we're going to go that route, why not do it the cloud variable way and show it every first time in a project?That's a great point. And a question: would lists use zero-based indexing in this mode? Because a block that looks like this:([list v]\[(1)\] :: list)and uses one-based indexing could confuse users.
Edit: or the block could be([list v]\[(1) - 1\] :: list)
I don't think the last one should be used..
Maybe if you drag one out the first time, it will open a little window telling you about it.
- Greg8128
-
500+ posts
"PYMode" [READ FULL POST]
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.
- mybearworld
-
1000+ posts
"PYMode" [READ FULL POST]
But Scratch is already code. How about naming it “Code Mode”
Give some examples, please 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.
- Rendangbike2
-
1000+ posts
"PYMode" [READ FULL POST]
Support! It would awesome for Scratch to introduce Scratchers to *real programming language such as Python and JS.
Maybe call it JSmode and Pymode?
The only thing that's close like this is EduBlocks but I'm sure that you can put it to Scratch as well!
Maybe call it JSmode and Pymode?
The only thing that's close like this is EduBlocks but I'm sure that you can put it to Scratch as well!
- the2000
-
1000+ posts
"PYMode" [READ FULL POST]
I support the idea of having it display JavaScript. I am concerned about lines which don't have a real JS equivalent, though maybe there could be a way to deal with that.
- NotDucki_
-
1000+ posts
"PYMode" [READ FULL POST]
Scratch Support! It would awesome for Scratch to introduce Scratchers to *real programming language such as Python and JS.is a real programming language
support- I learned python a few years ago but forgot it- ha..
- Rendangbike2
-
1000+ posts
"PYMode" [READ FULL POST]
I meant real as in the kinda deals that make you have a job, Have you ever heard of Google hiring people that can code in scratch?Scratch Support! It would awesome for Scratch to introduce Scratchers to *real programming language such as Python and JS.is a real programming language
support- I learned python a few years ago but forgot it- ha..
- Maximouse
-
1000+ posts
"PYMode" [READ FULL POST]
Those block could look like function calls. I support the idea of having it display JavaScript. I am concerned about lines which don't have a real JS equivalent, though maybe there could be a way to deal with that.
this.move\((10)\) :: motion
- -EmeraldThunder-
-
1000+ posts
"PYMode" [READ FULL POST]
Why PY mode?
It's a bit biased towards python.
Maybe code layout mode.
It's a bit biased towards python.
Maybe code layout mode.
- NotDucki_
-
1000+ posts
"PYMode" [READ FULL POST]
python is ez to learn, like Scratch. After python, they can go learn like Lua (off Roblox maybe?), then C(+,++,#) off Unity, then Java, then JavaScript (whatever is easier) Why PY mode?
It's a bit biased towards python.
Maybe code layout mode.
- the2000
-
1000+ posts
"PYMode" [READ FULL POST]
Yeah, that was the way I was thinking of, though I realize I didn't really word it in a way that implied that.Those block could look like function calls. I support the idea of having it display JavaScript. I am concerned about lines which don't have a real JS equivalent, though maybe there could be a way to deal with that.this.move\((10)\) :: motion
- ipaddude
-
100+ posts
"PYMode" [READ FULL POST]
no support because it's just making scratch harder to read, and it doesn't even make sense for a block-based programming language
how would this benefit the community?
however i still have a few suggestions were this to be implemented
how would this benefit the community?
however i still have a few suggestions were this to be implemented
- change self to this, like the only language that uses self is python
- probably change some of the suggested names, mouse.touching implies that touching is a property of mouse, and that doesnt make sense if you're getting it from another sprite (unless mouse is a property of this and mouse.touching is a getter for a boolean)
alternatives could be(implies that touching is a function in this that returns if this is touching the argument) orthis.touching(mouse)
mouse.touching(this)
- Futurebot5
-
1000+ posts
"PYMode" [READ FULL POST]
I think this would be rejected for the same reason as a 2.0 or 1.4 style.
- the2000
-
1000+ posts
"PYMode" [READ FULL POST]
How is this related to that at all? I think this would be rejected for the same reason as a 2.0 or 1.4 style.
- Maximouse
-
1000+ posts
"PYMode" [READ FULL POST]
It would make the blocks completely different, and the ST doesn't want that.How is this related to that at all? I think this would be rejected for the same reason as a 2.0 or 1.4 style.
But I don't think it's worse than changing the language of the editor.
- the2000
-
1000+ posts
"PYMode" [READ FULL POST]
this.touching(mouse) would probably be best, since this is a drop-down that also includes sprites. probably change some of the suggested names, mouse.touching implies that touching is a property of mouse, and that doesnt make sense if you're getting it from another sprite (unless mouse is a property of this and mouse.touching is a getter for a boolean)
alternatives could be(implies that touching is a function in this that returns if this is touching the argument) orthis.touching(mouse)mouse.touching(this)
- NotDucki_
-
1000+ posts
"PYMode" [READ FULL POST]
But Za-Chary said himself that its not rejected.
- Futurebot5
-
1000+ posts
"PYMode" [READ FULL POST]
How is this related to that at all? I think this would be rejected for the same reason as a 2.0 or 1.4 style.
That also applies to this suggestion. 2.3 Set the editor to look like older versions of Scratch
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.
- staiker1O9
-
100+ posts
"PYMode" [READ FULL POST]
Support, scratch is meant to teach programming, and a option to use more advanced vocabulary could help further teach programming and introduce users to real text coding