If you consider programming to be a subset of writing, and I certainly do, then you would also do well to read Elements of Style and On Writing Well. I’ve found reading those made me a better programmer as well.
Ref: https://signalvnoise.com/posts/3375-the-five-programming-books-that-meant-most-to-me