Snippet (programming)
From Wikipedia, the free encyclopedia
Snippet is a programming term used to refer to a small chunk of (typically uncommented, self-explanatory) re-usable source code that serves as a sub-function to one or more formally defined functions within a given module. Snippets are often used to clarify the meaning of an otherwise "cluttered" function or to minimize the use of repeated code that is common to other functions.