The Secret Life of Semicolons

Every programmer knows the semicolon is the most passive-aggressive punctuation mark in existence. It sits at the end of your line, judging you silently, waiting for the moment you forget it so it can ruin your entire afternoon. But what do semicolons do when we're not looking? According to my extensive research (I fell asleep at my desk and dreamed about it), they gather in the whitespace between functions and host tiny dinner parties. The colon brings the wine. The comma brings the cheese. And the period just sits in the corner, ending things.

Back to articles