Making no excuses, I can tell you that as you become more tired and fatigued, your verbal skills go down the drain quickly. Curse words are viewed simply as nice fillers. Eventually, if he stays in long enough, he will be assigned to a unit that will not tolerate such non-sense and he will learn what projection of professionalism is all about. Until then, he will be a direct reflection of the company he keeps.