this post was submitted on 04 Mar 2024
945 points (97.4% liked)

Programmer Humor

32557 readers
387 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 8 months 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