See this answer on Is the Stack Overflow source code available?
Quite often, many StackExchange sites do have the occasional comedic style to a well written answers and comments. I have no problems with jokes.
But could someone explain the clearly defined limits of using humor, in upvoted answers?
If so, should the best answer be judged on the basis of quality and formality, rather than popularity?