A positive attitude and a sense of humor have helped many a leader face down harsh criticism and overwhelming social media critiques. Just ask Barack Obama. 

Appearing on Jimmy Kimmel Live on Thursday, President Obama participated in Kimmel's ongoing "Celebrity Mean Tweets" segment, in which guests read aloud offensive and critical comments posted about them on Twitter. 

Obama--like many of Kimmel's guests--was a good sport. He read the comments seriously, as in: "somebody send obama some lifehacks on how to be a good president. haha, like, i bet that would help. lol." He also offered up some gentle advice to his critics: "You know the lol is redundant, when you have the haha?"

That sort of amused reaction is exactly the right way to take criticism -- especially the irrational and/or poorly-punctuated variety. Studies show that comedy can have an immensely positive impact on your life: Laughter can reduce blood sugar and glucose levels as it alleviates stress and anxiety, for instance. One entrepreneur even took stand-up comedy lessons in an effort to improve his public speaking skills. (It worked.) Comedy can also ramp up your productivity.

So next time you get shot down by a potential investor, or receive negative feedback from a peer or mentor, try laughing it off. After all, it could be worse: It's unlikely that someone wants to abandon you on a remote golf course. (Although Obama added: "I think that's a great idea.")

Watch the segment in its entirety below: