There was no such thing as computer science when I started my programming career, so I didn’t.
That said, programming is computer science, and computer science is mostly programming. Whether you study computer science formally or not, if you’re learning programming you’re learning computer science. (Note: Computer science isn’t taught in a programming language, it’s taught in the language you think in.)