Earlier quoted context omitted.
Luckily now we have Arduino that hides all the nasty stuff from users. There are 2 basic blocks: unit and loop. Adding repeating code blocks into loop block isn’t that hard. Jumping from Mindstorms to Arduino shouldn’t be a big difference.
My 9 year old son gets this so for any adult it shouldn't be a huge hurdle. Arduino is a very nice little platform.
Raspberry Pi Build HAT – Controls Lego Technic motors and sensors
31–40 of 63 posts
Re: Raspberry Pi Build HAT – Controls Lego Technic motors and sensors
#32Re: Raspberry Pi Build HAT – Controls Lego Technic motors and sensors
#33Earlier quoted context omitted.
I think it's more about teaching kids/newbies to think in a programming way. That can be language agnostic. You're essentially trying to achieve something "complex" using simple instructions. At a basic level that's a great way to learn programming. As the problems get more complex it becomes obvious why paradigms & architectures exist, and your programming skills can improve.
I think that's the thing? Block programming languages come from folks who write "CS education" literature as opposed to the "new programming languages" literature. They're turing complete, because curriculums require teaching the use of if statements and for loops, but that's about it. If I actually wanted to use a block language at my day job I'd want affordances for larger, more complex programs. Compiler or JIT, c…
It could do absolutely everything that Lua could do. We also added a kind of multifile support, using tabbed views to reimplement libraries on the browser side of things (compiling into separate Lua files).
The idea was that educators at both ends of the spectrum could convert to and from the same visual representations. The primary school classes the uni were running could use blocks, and slowly move to normal Lua, one feature at a time, all the way up to the first and second year ICT programs for higher ed.
Because it could compile to Lua, we could use git and a whole bunch of other tools that already exist. There was an experimental C/asm.js branch to add in FFI support, but that was deemed too time-costly whilst the rest still had a bunch of edge-cases.
And then, unfortunately, the whole program got yanked. But about that time it was close approaching what I would consider "useable" for actual real work.
Re: Raspberry Pi Build HAT – Controls Lego Technic motors and sensors
#34Re: Raspberry Pi Build HAT – Controls Lego Technic motors and sensors
#35What would be the ideal age to start introducing my son to these kinds of projects? At what time can they start programming? I don't want to start too early.
Re: Raspberry Pi Build HAT – Controls Lego Technic motors and sensors
#36Re: Raspberry Pi Build HAT – Controls Lego Technic motors and sensors
#37There's not even any features like Mindstorms that offer customization/programming, it's literally just a clunky touchscreen remote that doesn't pair with the model half of the time. I guess phones on the box sell better.
Re: Raspberry Pi Build HAT – Controls Lego Technic motors and sensors
#38Re: Raspberry Pi Build HAT – Controls Lego Technic motors and sensors
#39Cute, but the Legos are crazy expensive. What you save by using a Pi, you lose by buying Legos.