From what I understand, code that doesn't have a license associated with it is considered copyrighted by the original author implicitly (and technically no one has been granted any rights to use the code). Therefore, it usually is in the best interest of others for an author to license code intended to help others. Typically permissive free software licenses such as the MIT License is a good fit for these types on things. That said, should code snippets/examples be licensed on sites like this? Or is that not necessary?
If the answer is yes it should be licensed, then why not include the ability to attach a license to code examples provided as an answer to a question.