Ironically, the semicolon would go perfect at the end of the first line.
post
Semicolons were the staple "eyes" in many emoticons back in the day.
;) ;P ;_;
"Back in the day"? I still use them \o/
Unicode emojis killed the ASCII emoji scene. -_-;
Their called emoticons and they are for those with a refined taste. :Þ ∞̊͜° <- I love this pig I figured out how to make.
I use them in at least one out every of ten comments; I feel like most people don't know how to use them, however.
They're useful if you want to link two related sentences; Sausage links are good too.
I never understood the hate for semicolons, until I read Moby Dick.
Incorrect, that's a Greek question mark
If one ignores the semicolon, it is at their own peril; they're too useful, even when used slightly incorrectly
My senior highschool English teacher (a somewhat precocious PHD student), assigned us basically the opposite of code golf; make the longest grammatically correct sentence you can (with some rules that basically amounted to 'do not be boring/repetitive'). The use of semicolons was encouraged.
English Teacher: It is semicolon we hardly use it.
So... It's perfectly cromulent to everyone here that an English teacher isn't using proper punctuation and capitalization?
Also self harm survivors apparently tattoo themselves with it. I like to think it's a reminder for them that life goes on.
Python and Lua would like to have a word with you
Or you could do as I did when some annoying guy asked me to "help him" with CS homework (actually wanted me to write the entire app for him, and refused to actually learn). I don't remember what it was actually about, but I sent him something like:
import sys as s
class Main:
def __init__(slef, av):
slef.teh_arguments =av;
#enddef;
def main(sefl):
doSomething();
do_something_else(sefl.teh_arguments);
pls_DontDothis();
#enddef;
#endclass;
if(__name__[2:6]== 'main' ):
Main(s.argv).main();
#endif
It didn't go well with his professor. I wonder if he's a vibe coder now
So many of the languages that don't use semicolons to separate statements use them to start line comments. It's like some sort of flex.
ITT; people artificially constructing wildly unnatural sentences to try an force the semicolon to be useful and still using it wrong
I wore out that key on my computer. Betweeen IRC and Java, it didn’t last long.
We mean, you can use it often i enough if you use it correctly; if only purely by example.
I use semi-colons a lot. People are so intimidated by them and they refuse to admit how simple they are; it's literally the combination of a comma and a colon, that's it. Use it for when both are needed.
That is incorrect (to my understanding), it's the combination of a comma and a period; it only resembles a colon in appearance.
My colon definitely doesn't look like that and if yours does I suggest a doctor's visit.
Fun fact: Mildly annoying fact: a surgery to remove a colon is called a colectomy. A surgery to remove part of a colon is called hemicolectomy. Come on!!! Semi- and hemi- are practically synonyms!
And I can't quite remember or find right now what they call what remains, but I distinctly remember that it's not called a semicolon. Medicine is so dull.
Lisp devs don't understand this
I don't always use a semicolon, but when I do, it's because I mistyped on my keyboard
Tab gang
Rise
Up
-1 ∵ Those were spaces you put there.
You thought you could fool me?
Vim: set shiftwidth=4 smarttab
We can afford to just use spaces now
You expect full tabs in this economy?
"If you can replace a semicolon or hyphen with a comma/period, you probably should". Writing advice I received at age ~10 and it never stopped being relevant in literature contexts
Far too many writers use a comma, when they should have used a semicolon or perion. It creates comma splices, where you join two main clauses with a comma.
Wrong:
His new car was flashy, it was bright red and had a custom license plate.
Right:
His new car was flashy. It was bright red and had a custom license plate.
My brain says
His new car was flashy; it was bright red and had a customer license plate.
Is correct
Since we're well down the path of grammer correction.
I think a 'custom' license plate would make more sense.
🤓☝️
That's also correct (custom/customer autocorrect error aside).
It's kinda true. When coding by myself, I hardly ever manually type the semicolon myself, I just rely on the auto format to insert it for me.
top 100 comments