Maybe 30-40 years ago. For as long as I've been around the basic ability to write good code was secondary to a long list of other skills.
That's different than saying a lot of people *believed* writing code was the hardest/most important part.
That's different than saying a lot of people *believed* writing code was the hardest/most important part.