My optimistic take on literature, compared to code, is that what writers produce is what is exactly consumed. The medium stays the same. The implementation choices of writers, like syntax, matter deeply to how the text resonates with a reader.
Code, on the other hand, is not consumed by end users in the same way. It compiles and turns into applications, which are then used. So users of applications are less scrupulous about what the code looks like, what language was used, and so on.