I believe a nicer and friendlier term would be 'social coding'. Sharing sample code is one of the little limbs of the larger open source movement. Freed from the straitjackets of profits, free sharing of technical information is quite common. Sample code that is freely available is also a great learning aid. For the beginner programmer it's not a shortcut; as a programmer you won't get far if you
{{#tags}}- {{label}}
{{/tags}}