Jump to content

Code snippets

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Betacommand (talk | contribs) at 20:27, 20 February 2007 (Removing selflinks). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

 ??? 

A Code Snippet is a computer programmer's term to refer to small pieces of code that otherwise generally do not function correctly until placed into a larger file of code. Snippets like these can be generally shared among the coding community, at various code snippet sites for sharing useful code.

Code Snippets in Development Programs

Some programmer's applications such as Microsoft's Visual Studio include built in parts of structure for ease of coding. For example, choosing the if code snippet inserts an if statement with a curly-brace code block.

 if (true)
 {

 }

Other applications such as Marcomedia Dreamweaver make use of these code snippets as well for Web Development.