Cursing shows a lack of temperance and self mastery.
There  is the case for just anger...but swearing involves something else all together.
too many people are quick to use Our Lord clearing the temple as an example where such expressions are allowed..but they forget the supernatural point that Jesus was making. They see the incident only with human eyes, not supernatural ones.