Some time ago, I was participating in a course for academic paper writing in which the professor cautioned the students against using while instead of whereas. It was surprising for me; I supposed that it is a completely acceptable point in English.
Is it really recommended in academic writing to use whereas rather than while?