Discuss Scratch
- Discussion Forums
- » Things I'm Making and Creating
- » All Things Blockly!
- gosoccerboy5
-
Scratcher
1000+ posts
All Things Blockly!
Blockly is a visual library that allows you to snap blocks together to generate code in different programming languages such as JS, Lua, and Python (and Dart and PHP).
If you want to try it out, go to these links:
If you want to share your code with us, just use this webpage, and click the link
button in the top right corner for easy sharing.
How does this relate to anything? I believe Scratch 3.0's editor is based off of Blockly. Also, App Inventor runs off of Blockly and has the full version. (I think code.org uses Blockly, too, but we don't talk about code.org around here.
)
Anyways, what do you think of it? Feel free to share any cool screenshots or code!
If you want to try it out, go to these links:
If you want to share your code with us, just use this webpage, and click the link
button in the top right corner for easy sharing.How does this relate to anything? I believe Scratch 3.0's editor is based off of Blockly. Also, App Inventor runs off of Blockly and has the full version. (I think code.org uses Blockly, too, but we don't talk about code.org around here.
)Anyways, what do you think of it? Feel free to share any cool screenshots or code!

Last edited by gosoccerboy5 (April 16, 2021 18:49:24)
- gosoccerboy5
-
Scratcher
1000+ posts
All Things Blockly!
Bump, maybe it wasn't the best idea to make a topic at 10:21, no one saw this topic XD
- gosoccerboy5
-
Scratcher
1000+ posts
All Things Blockly!

Since I technically can't bump the topic as it's still on the first page, I'll share this image of a factorial function (recursion ftw
)
- gosoccerboy5
-
Scratcher
1000+ posts
All Things Blockly!
Hilarious!Never knew blockly was so funny lol

- mybearworld
-
Scratcher
1000+ posts
All Things Blockly!
I mean, “not len(x)” is a pretty bad way to check if something is empty.
Yes
It works, but isn't efficient. I'd prefer “len(x) == 0” or even: “x == str()”.
Edit Oct 20 2021: No longer agree with this.
Last edited by mybearworld (Oct. 20, 2021 14:28:55)
- gosoccerboy5
-
Scratcher
1000+ posts
All Things Blockly!
It works, but isn't efficient. I'd prefer “len(x) == 0” or even: “x == str()”.x == “”
would that work?
- mybearworld
-
Scratcher
1000+ posts
All Things Blockly!
Yes, but I used quotes to tell the code snippetsIt works, but isn't efficient. I'd prefer “len(x) == 0” or even: “x == str()”.x == “”
would that work?

- gosoccerboy5
-
Scratcher
1000+ posts
All Things Blockly!
“Theres a such thing as \”escaped quotes\“ or ‘single quotes’”Yes, but I used quotes to tell the code snippetsIt works, but isn't efficient. I'd prefer “len(x) == 0” or even: “x == str()”.x == “”
would that work?
- Scratchperson1000000
-
Scratcher
500+ posts
All Things Blockly!
is this just scratch but put into code.org
- ScratchCatHELLO
-
Scratcher
1000+ posts
All Things Blockly!
is this just scratch but put into code.org
scratch is built on blockly

code for the repeat block (I think)
- gosoccerboy5
-
Scratcher
1000+ posts
All Things Blockly!
Where'd you find the screenshot? It was on github right?is this just scratch but put into code.org
scratch is built on blockly
code for the repeat block (I think)
- ScratchCatHELLO
-
Scratcher
1000+ posts
All Things Blockly!
Where'd you find the screenshot? It was on github right?is this just scratch but put into code.org
scratch is built on blockly
code for the repeat block (I think)
scratch-blocks on github
- gosoccerboy5
-
Scratcher
1000+ posts
All Things Blockly!
ThanksWhere'd you find the screenshot? It was on github right?scratch-blocks on github

- gosoccerboy5
-
Scratcher
1000+ posts
All Things Blockly!
Yep. It's really visible when you inspect element n the editoris this just scratch but put into code.orgscratch is built on blockly

- Discussion Forums
- » Things I'm Making and Creating
-
» All Things Blockly!


