Probably the key is to provide rich enough environment and be very careful with repetitive scheduled activities...  Teaching a five-year-old to code is probably Ok, as long as it is a very small part of life of that 5-year-old...