That of course requires that the developer have UX knowledge/experience which many developers don't. I think ideally all persons involved with the creation of a user interface would have both UX knowledge and interest in creating a usable interface.
The design process should be more fluid instead of just laying out a UI and then having the designer make it look pretty.
This is the process at the company I work for and it works quite well. For more complex projects that have a lot of interaction the designer comes up with a look and feel and a color palette and then the developer requests additional graphic elements as he feels they are necessary...