Programs that do typesetting for you (Markdown, LaTeX), will ignore the number of spaces after the period in your "source" code and lay it out in the output with a single space.
I've gotten in the habit of single-space in variable-width fonts, and double-space in fixed-width fonts.
I've gotten in the habit of single-space in variable-width fonts, and double-space in fixed-width fonts.