I started learning BASIC at age 8 and it was a great aid in learning logic and math later on in school as it gave me a foundational context for these related subjects.
That said, I was self-motivated to explore programming on my own, and had complete control over what I was trying to do with it. Had it been forced upon me by school, I fear it may have become a chore. I guess I'd advocate introducing kids to coding but not forcing it.