As I always tell my students, cursing is not wrong, but there is a time and a place for it and an art to it, and school and academic work (making exceptions for creative writing, but you still have to have a justification for it there) are not some of them.