Hello,
You certainly should not put a space before punctuation marks, even in everyday language.
Capital letters should be saved for proper nouns, acronyms, and the start of sentences but you are quite right, people do throw them around in a very random fashion. It is not correct though.