Show HN: Blocklike.js Educational Library – So kids can level up from Scratch
1–10 of 34 posts
Re: Show HN: Blocklike.js Educational Library – So kids can level up from Scratch
#2Re: Show HN: Blocklike.js Educational Library – So kids can level up from Scratch
#3There’s also what seems to be a better scratch than scratch: https://snap.berkeley.edu
With the above, and with Scratch 3.0 finally ditching Flash, I think the absolute-beginner-basic-concepts niche is covered. BlockLike is an attempt to imagine what the next step in a progression could be.
Re: Show HN: Blocklike.js Educational Library – So kids can level up from Scratch
#4the first block programming tool i used is etoys.
it has an interesting feature, where each piece of blocks has a direct equivalent in smalltalk, so you can compare the block version with the code version.
the transition is therefore much smoother as you can reuse your existing block code.
in that vein it would be nice if blocklike had an import function to load scratch projects.
at least for simpler projects this should be possible, and it would further enhance the transition.
Re: Show HN: Blocklike.js Educational Library – So kids can level up from Scratch
#5Re: Show HN: Blocklike.js Educational Library – So kids can level up from Scratch
#6excellent. this is a needed step. the first block programming tool i used is etoys. it has an interesting feature, where each piece of blocks has a direct equivalent in smalltalk, so you can compare the block version with the code version. the transition is therefore much smoother as you can reuse your existing block code. in that vein it would be nice if blocklike had an import function to load scratch projects. at…
I actually played with a basic React app to do that and I scraped it for two reasons:
1) Practically Scratch projects are very visual beyond the code. They contain a whole lot of assets. After conversion, just the asset loading parts of the code looks scary. It is not really workable. (As a side note, Scratch IDE encourages duplication, and this also increases the complexity of the converted code).
2) Conceptually. The idea is to learn how to write code. So, use the exact pattern, but write it yourself...
Re: Show HN: Blocklike.js Educational Library – So kids can level up from Scratch
#7Re: Show HN: Blocklike.js Educational Library – So kids can level up from Scratch
#8Re: Show HN: Blocklike.js Educational Library – So kids can level up from Scratch
#9I also think that typing the words out has an effect on fluency even though it seems like a menial form of practice.
Re: Show HN: Blocklike.js Educational Library – So kids can level up from Scratch
#10It's a shame they decided to involve one of the worst parts of JavaScript and hardest to explain in all the examples: "this". I've written a lot of JavaScript code that doesn't use it and it's really easy to understand.
"this" is me, the BlockLike Sheep (friend of Scratch Cat).
There is a lot of discussion about the more technical details of the implementation in the FAQ (https://www.blocklike.org/faq) and you can look at this example (https://www.blocklike.org/example/10-patterns/functions.html) to see what emerges out of the implementation (code prints out to console)
>I've written a lot of JavaScript code that doesn't use it and it's really easy to understand.
In the example below the concept of a function that can be shared by two Sprites is introduced. (Scratch Blocks can not be shared by two Sprites).
https://codepen.io/BlockLike/pen/JpjVOp?editors=1010
It can be rewritten without using "this" (obviously). But can you make it easier to understand? Can you make it better at explaining the concept it does?
There is a reason JavaScript has "this" and I think this might be the reason ;)