by bliti · 11y ago · 0 comments
nano story.txt
To start writing simple stories (she loves doing that). And yes, she saves it by pressing Ctrl-x, y, and enter. :DAs a child there is no bias as to 'oh it must be hard doing that because I am use to clicking X in Windows' they just learn stuff and get on with it. We should all remember to be like children sometimes. Explore ... not language wars!
The next step is usually Python but I'm not sure kids will get the significant whitespace. Go is an option or maybe BASIC (on RISC OS perhaps).
Drink the koolaid, fine, but don't drink THAT MUCH of the koolaid.
Just not discounting Go based on what I've read. e.g. https://news.ycombinator.com/item?id=10054270
At the start of this year I finished a first course in Python to learn in anticipation of [possibly] using it for home learning with my kids (it seems widely used for education). As I'm familiar with programming I searched for an IDE as I started. It told me when I had dropped a space or used a tab by accident. I tried several different environments including my standard editor choices - nano and Kate - revealing non-printing characters was a clear advantage. Others (primarily adults) who were starting fresh in programming had lots of problems with errant spaces.
With braces you can see more clearly when there is an error of addition or omission, not so much with spaces. Like I tried to say above: this is clearly tractable with the right tools but the demarcation - I feel - of braces can be a more clear and obvious sign of separation than whitespace. For younger people with less spatial reasoning and less accurate perception of text lining up it rather seems it could be pretty much harder to use whitespace structuring.
Personally I like the overall "clean" appearance of Python compared to PHP (say), debugging with tools is fine, when I was testing different environments and tripped on whitespace problems it was a nightmare rather reminiscent of trying to debug HTML tables some years back.
(Haskell does support {} and ; for those in need, though. Also, it has lots of other stuff for people to complain about first.)
My hesitation for using it with kids comes from anecdotal evidence (both written and in person). Kids seem to have trouble with significant whitespace (such as with Python ifs/loops/functions).
It may be better to use BASIC or Ruby. This way you avoid many of the braces and semicolons. You can still end a line with just a CR/LF but it makes it obvious where statements, functions and loops end.
Does anyone have a book about the method they develop? I bet that, following it to the T or not, it would sell here with the HN crowd.
I did the coding but it was his concept, he did all the graphics (scanned pictures he drew), the font (generated from his handwriting) and sound effects (that's him making all the sounds).
He also built the levels and used a music generator to create the background music (not in the version that is on the website yet). This was all done in Unity with a lot of prefabs to make it easy for him to build the levels.
I'm totally going to introduce him to PICO-8 (see link below) next to see how he gets on :)
Keyboard.... how quaint! :)