UX implies usability as well as aesthetics. Any time spent worrying about the aesthetics of code is time not spent solving problems. In terms of usability, off the top of my head, two things that I find useful are:
1) Editors with syntax highlighting. I can't be bothered to worry about what typefaces or encoding it supports.
2) Languages that force a consistent approach to implementing a given task. I'd have to throw out Perl and its Tim Toady ethos.