this post was submitted on 04 Mar 2024
936 points (97.5% liked)

Programmer Humor

35561 readers
66 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] starman2112@sh.itjust.works 3 points 1 year ago

A semicolon is used when you're separating sentences that are themselves part of a list. Typically you would use commas to separate list items, but when the list items are complete sentences with commas in them, you use a semicolon to separate them. A colon is used when you have to poop