I learned to code at 28 and have been doing it professionally for 10 years now. Coding is easier than it used to be. I don't think an age limit applies.
If someone goes to grad school, especially if they had 2-3 years of full-time work mixed in there, they can easily be pushing 30. I basically did a career change at about that age into the computer field as a product manager.