I started coding on my teens and I was using Turbo Pascal and later Borland C with BGI. Lua/Love2d is even easier to pickup than Pascal/C/BGI was, and has way better documentation.
I think 11y/o is a great age to start writing code! (or, tbh, as soon as you have learned to read and write and some basic arithmetic :-).