I wouldn't say that my CS degree taught me to program, but it gave me a fundamental understanding of things that would otherwise be black boxes, which has helped me to estimate the correct fork in the road on numerous occasions. This understanding also helps me write more performant code than I might otherwise. So I would say that it's still useful. It gave me a good mental framework to build off of.