I did that. I gave him a simple console from the 90s and a TI-86 programmable calculator when he was 6. Thankfully he mastered them before he was 9 and got exposed to python/minecraft.
Now he can learn anything due to having been exposed to the basics.
Now he can learn anything due to having been exposed to the basics.