It doesn’t matter when you first learn because once you start, if you like it, you’ll never stop.
I learned to program BASIC in 3rd grade and C in 7th grade. Then FORTRAN and PASCAL in college (Mechanical Engineering). Then C++, Lisp and C# at my first job. Then PHP and SQL, and later Python. Somewhere in there I learned assembler for x86 and some microcontrollers. I learned Java just so I could teach it as a volunteer APCS teacher.
Just start; that’s the key.