In general, tiny snippets are less impressive. I'm much more drawn to completed projects that show off an ability to follow through and think out a large scale software system from start to finish.
Once you have some good large projects done (and by "large" I mean at least several thousand lines of code, but not necessarily like a shippable AAA game or anything huge) feel free to show off your other skills with small snippets.
When applying for a programming position, how important is it to have a source code of such a large project available? I have several completed and released non-AAA sized games I can point at and say "I did that on my own/in a team", but either the source is not something I can give out, or the project is very old and not representing my current abilities (you can read that as the code not being pretty, I can do much better now, but for the more current projects I don't have the authority to show the source around).
Would just pointing at complete games, without having the source for them available, be enough in a programmer's portfolio (maybe in addition to code snippets as opposed to large project sources) to land a job? I've also been wondering, how much worth such a portfolio would be when applying for a programming job outside of game development?