I have a coworker that describes exactly this behavior. Most of the (young) people I know who engage in dialog with him immediately regret it and find ways to end it without feeding into his superiority complex but I think it is his way of validating himself which I most often find entertaining and comically pretentious.