Not sure where it originated from, but it's been used since I've worked with Fox in the early 80's to mean a small section of code or a 'code snippet.' I think the term itself (outside of programming) means: a small piece of anything including a piece of something that has been snipped off or cut out.
>>I've been programming with Foxpro since the early 80's and I was rather surprised when I went to an interview for a VFP developer job a few years ago and the ONLY specific programming question I was asked was: "What is a snippet?" I had a difficult time not giggling. After using Foxpro for so many years I was pretty comfortable with it even though I still get stumped now and then, but that was the easiest programmer's test I ever took! :o)
>
>Heck, I've nearly forgotten what a "snippet" is (was that an original term to the Fox?).
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"