My son has shown enough interest in learning some serious programming apart from his after-school Scratch Jr clubs. I gave it some thinking and realize a good way to have a proper feeling of real world coding (not via the attractive graphical Scratch UI) has been around for decades: LOGO.
It is a drawing system where you give primitive instructions about a moving cursor (a pen), like move forward, move backward, turn left, turn right, pencil up, pencil down. It brought me back to middle school days where a teacher showed us how to do it and we go to labs to finish all kinds of graphs.
Then after a short research it turns out the best environment for that is readily available in Python which is a very sweet combination.
Simply:
pip3 install turtle
Then:
python3
from turtle import *
reset()
And you’re ready to go!