I've recently been assigned to work on a project written in PHP. I can't change that, and have no intention of really trying.However, this can't be an uncommon scenario. How do you motivate yourself to work on the project when the code you're looking at and producing constantly makes you want to cry?EDIT:It should be noted that this is pretty much the only on-campus job doing anything software related available at the moment, so just change jobs isn't really an option :(
What do you do when you have to work on a project using a language that you hate?
programming languages
My tip would be to endure it, only if you see the benefit of learning anything from the language and all the processes or patterns that the project uses. You might gain something from it.The alternative, if you're risk-averse enough, is to look for another job. Which is certainly a good idea if your lack of the motivation is dragged down not only because of the technology used, but by the lack of understanding for good practices from your coworkers. There should be better things to do than to have your abilities as a developer stagnate. If you're not learning anything or gain anything from your job: get a better job. 