I think this is probably just the common experience. Programming is probably best learned hands on rather than through a book, which is why the use of programming books has fallen off a cliff once we got other options. Even before AI I think programming books had already fallen off in popularity.
There would be some things books can provide that are probably better than other options, but for a lot of hands on skills it seems best to learn in a hands on way.