Teaching my children programming II

I am a software engineer from Murcia, Spain currently living in Utah.
I love software development, programming languages, writing, drawing, Star Wars and my family (in no particular order).
Search for a command to run...

I am a software engineer from Murcia, Spain currently living in Utah.
I love software development, programming languages, writing, drawing, Star Wars and my family (in no particular order).
No comments yet. Be the first to comment.
One of my favorite games of all time is Master of Orion II. It is a game that I find myself playing throughout the years. The game is very replayable and especially after a few mods fixed some of the issues in gameplay and some bugs, the game is bett...

First class for Jazmin, 7 and Natan, 6. We went over the very basics of math using Node. How to add and substract numbers mainly. They were excited to see that the computer is able to process 123791237+1238933 just as fast as 3+2. The result didn't m...

For this session I will go a bit deeper on data types. We are mixing numbers and strings and seeing the result. I decided to stay with Node for the time being. We'll see how this goes. We also jump to a text editor. I decided to go with nano so that ...

Today was the first lesson. We did not even touch the computer today. With a white board I explained the basic parts of a computer, with special emphasis on storage. What is memory? What types of memory are there? What is an SSD? What is RAM? What do...

First time with a computer. This is getting serious!
Elisa is using a MacBook Pro and Leandro is using a Lenovo T440 with Fedora. Both are on the terminal, ready to learn and with a weird look on their faces that says "what the heck is this boring screen".
The lesson starts. We fire up an interactive node session and we go at it.
a = 1;
b = 2;
c = a + b;
They cheer with every output and seem to be getting all the memory ideas from the last lesson.
We talk about strings. We store them in variables and have some fun:
name = "dad";
greeting = "Hi, " + name;
Of course Leandro wrote something more like:
Lol = "Leandro";
greeting = "Hi, " + Lol;
I let them have their fun. It has to be a bit dry to look at a terminal when you are 10 when you could be playing Among Us.
I explain the concept of true and false, and explain how they differ from a simple string. I also explain and show an example of an if statement. They get surprisingly excited about this one. I think it's because they feel they are starting to communicate with the computer in English.
Since I am making this up as I go, I am considering my next steps. Again they seemed to have fun, but I won't be able to keep this up if things don't get challenging and interesing. I am considering switching to Lua + Love2D. I am not familiar with the language but I hear it's very simple and you can get results quickly. I think it could be a good next step for someone used to immediate visual feedback in Scratch.