Writing code is building a user experience, where the user is the developer, who is reading the code. There are rarely two programmers who have the same opinion on what is clean and readable code. User experience, however, has longer history and more established and widely adopted practices. In order for their code to be usable, developers need to take the same things in consideration as user experience designers.