Code Snippet is currently under development

What is a code snippet?

Code snippets are small pieces of text. Most commonly, pieces of software source code that can be used, looked at and discussed as a smaller unit in a bigger picture. It may be the code for a function, a class or maybe the configuration settings for webserver. It can be a fragment of any text.

If you have a software problem you need help with, it is a good idea to locate and define exactly what it is you need help with, so that others know what your are talking about. You can show them the problem to solve by isolating the code into a snippet, that only contains code that is relevant to the problem.

If the code you work on is proprietary it is a good idea to rewrite it and maybe simplify it so that it's not obvious what it the complete program it is a part of does. In that case writing a snippet of pseudo code is a good idea. Pseudo code is code in an undefined programming language, it looks like source code but no compiler would actually compile it. Or it is also commonly written in a very human speak like way for clarity, or because the language doesn't matter, or because you want to know how something would be written in a language you don't yet master. For example, what is the code for "do this until number of entries equals ten, then create container, then exit" - in PHP? (In the example the pseudo code is the text in quotes.) Pseudo code is used for humans rather than computers and there are no other rules to how you can write it, just write what you think is clear enough to get the point across.

We are working on getting Code Snippet up and running. The release date is currently set to as soon as possible!