For me it's a balance. I'm not shooting professionally so I don't have as many hours out with a camera. This means that when I'm out I usually shoot at least one scene, if I don't find a subject, and that does happen. I rather shoot something mediocre to keep my technique fresh than letting the weeks pass by with no shots made. Otherwise I start forgetting technique and do craftsmanship mistakes for those important images.
There's also the aspect that some images can be relevant for a project I'm working on, while others are not. If I see something that can be a "good image" I generally shoot it, even if I won't be using it in any project, as I find satisfaction in the process of making those images anyway.
When it comes to image sharing I don't really know. The "safe" strategy is to only show your edited projects, that's what photographers did in the past. However it's starting to become more common that also established and highly regarded photographers have blogs and instagram etc where all sorts of material is published, where the quality is naturally lower than their portfolio and projects. I think that is okay these days, but you need to separate them so the audience know what's your "real work" and what's just casual images.