I love teaching Scratch to kids. Some years ago, I used to do "CoderDojo", which is like a hobby club where kids can learn programming. Some kids go to soccer, others to art academy — and these kids learn programming. Super cool to teach. However, most kids get stuck after they master Scratch. Especially kids around the age of 8–10. They learn Scratch. It's awesome. They make some advanced games and really get the ha…
This is how I learned a long time ago with Game Maker. Everything was Gui based, but you could also add code blocks to do more powerful things. Eventually, most things I built were nothing but code blocks.
Show HN: Goboscript, text-based programming language, compiles to Scratch
41–50 of 65 posts
Re: Show HN: Goboscript, text-based programming language, compiles to Scratch
#42Earlier quoted context omitted.
It sounds like you want the ability to instantiate a scratch block that contains a text box, which in turn contains the function body for the block? It would then be possible to incrementally write as little or as much as desired in text. Getting fancy, that block could use a backend interpreter/compiler of choice, so the language could be Squeak, Python, C, an LLM generator, ...
> It sounds like you want the ability to instantiate a scratch block that contains a text box, which in turn contains the function body for the block ? That is the escape hatch from all visual development environments. Having seen Talend and W4 in action, I know the end state of the process: a single block with everything in it - I'm barely caricaturing here. Maybe the specific needs of early learners will keep the s…
One of my children did something like this. In the days when Scratch was written in Squeak, he discovered that shift-clicking the 'r' in the Scratch logo dropped him into the underlying Squeak environment. He then started modifying and writing Scratch blocks and was eventually comfortable with text mode programming.
Re: Show HN: Goboscript, text-based programming language, compiles to Scratch
#43Re: Show HN: Goboscript, text-based programming language, compiles to Scratch
#44I love teaching Scratch to kids. Some years ago, I used to do "CoderDojo", which is like a hobby club where kids can learn programming. Some kids go to soccer, others to art academy — and these kids learn programming. Super cool to teach. However, most kids get stuck after they master Scratch. Especially kids around the age of 8–10. They learn Scratch. It's awesome. They make some advanced games and really get the ha…
Maybe something like Hedy will work better for you, instead of Scratch. https://hedy.org/ https://youtube.com/watch?v=ztdxlkmxpIQ
Re: Show HN: Goboscript, text-based programming language, compiles to Scratch
#45Why is text preferable to scratch? What is fundamentally wrong with scratch to make this transition desirable?
I think Roblox is not a bad next step (tons of out of the box marketplace options), or Ive also been doing a bit of Godot with my kids but with me driving a lot of it while we explore it together.
Re: Show HN: Goboscript, text-based programming language, compiles to Scratch
#46Why is text preferable to scratch? What is fundamentally wrong with scratch to make this transition desirable?
goboscript allows you to integrate external tooling and workflows, such as using a script to generate costumes for a text rendering engine. Or loading in images into lists.
goboscript has a powerful macro system - similar to Rust's macro system. This allows you to write macros to generate code.
goboscript is more than just an 1:1 mapping of Scratch blocks to text, it also has additional features like local variables for procedures (custom blocks).
goboscript also performs optimizations, detects problems and unused code.
All of these new features are impossible in the visual programming paradigm.
Re: Show HN: Goboscript, text-based programming language, compiles to Scratch
#47Why is text preferable to scratch? What is fundamentally wrong with scratch to make this transition desirable?
goboscript allows you to create advanced Scratch projects with ease, you can use any text editor, use a version control system such as git. You can refactor your code using search and replace. Text code can be copy pasted, which allows you to easily reuse code or share it with others. goboscript syntax is concise and easy to read. goboscript allows you to integrate external tooling and workflows, such as using a scri…
I believe that to be not true. Visual paradigm allows for some interesting behaviours.
1. Integrate external tooling and workflows
This is just the result of the Scratch runtime being in the browser.
2. Macros
Okay, macros might seem very difficult in a visual paradigm, but its possible. And, in a visual paradigm, it would be very easy to visualize how macros transform the code. (You could have a pop-up that shows the expanded form of the macro)
3. Optimizations: Turbowarp is a Scratch mod that does JIT compilation with optimizations.
Re: Show HN: Goboscript, text-based programming language, compiles to Scratch
#48Why is text preferable to scratch? What is fundamentally wrong with scratch to make this transition desirable?
goboscript allows you to create advanced Scratch projects with ease, you can use any text editor, use a version control system such as git. You can refactor your code using search and replace. Text code can be copy pasted, which allows you to easily reuse code or share it with others. goboscript syntax is concise and easy to read. goboscript allows you to integrate external tooling and workflows, such as using a scri…
This is false. The logic is simple to see why. Text is limited to alpha numeric characters restricted in a format that’s from left to right lines. It’s a very arbitrarily specific way to represent a “program”
In fact text is in itself a visual program. It’s one set of arbitrary rules as outlined above on how to represent a concept visually.
Thus there are definitely ways to represent a program with different rules with more dimensions and much less restrictions.
I don’t know how people get in there heads that in visual programming things are “impossible.” Like it’s not even a subjective thing, it’s definitively wrong.
Re: Show HN: Goboscript, text-based programming language, compiles to Scratch
#49Why is text preferable to scratch? What is fundamentally wrong with scratch to make this transition desirable?
(Not OP) Scratch is great. Its an excellent first step. But you hit the limits fairly quickly for what is easy to do "reasonably". So you stay within the limits of what it does well and that limits the kinds of things you can do. And then you risk losing the kids interest to keep at it, if they become bored with the medium. I think Roblox is not a bad next step (tons of out of the box marketplace options), or Ive als…
Re: Show HN: Goboscript, text-based programming language, compiles to Scratch
#50Why is text preferable to scratch? What is fundamentally wrong with scratch to make this transition desirable?