The issue was that it was "learn to code" and not "learn to program", as if the only thing you needed was a month of training and then you were just as good as someone with 20 years of experience.
It's similar to why there's hundreds of books about learning the basics of a language, but comparatively few books about good software architecture/design