By definition, coding is a newer type of skill, accompanied by a brand new library of terms, technologies, and ways of learning. With the introduction of programming designed for children (such as Scratch), it is now common to see coding integrated into the curriculum of preschools and kindergarten classrooms.
Just as the learning format has been adapted for learners of a younger age, there's also been a movement of teaching seniors how to code. Older coders and computer programmers seek to develop new skillsets due to the changing career environment or want to start a second career. Coding is a great skill to learn as a hobby during retirement as well. The benefits span beyond technical skills - learning a new language helps to keep the mind fresh and further build cognition.