As this is essentially a Question/Answer site, I personally would not object seeing a code snippet as long as there is a Use Case assigned to it. i.e. This is a codeSnippet for creating a .ddf file, which is used by Sharepoint Developers to create Features/Solutions".