482
submitted 9 months ago* (last edited 9 months ago) by KingThrillgore@lemmy.ml to c/196@lemmy.blahaj.zone
top 50 comments
sorted by: hot top controversial new old
[-] Frozzie@lemmy.world 78 points 9 months ago

So you're saying I can use the semicolon in a different context other than ending an instruction in my Java code ?

[-] SpaceNoodle@lemmy.world 52 points 9 months ago* (last edited 9 months ago)

Yes, you can end a statement in C or C++ as well.

[-] Perfide@reddthat.com 16 points 9 months ago

And, dare I say it, Javascript.

[-] SpaceNoodle@lemmy.world 28 points 9 months ago* (last edited 9 months ago)

What the fuck? There are children here. Don't say shit like that.

[-] perviouslyiner@lemm.ee 5 points 9 months ago

or begin a comment in Inno

load more comments (2 replies)
[-] n0clue@lemmy.world 20 points 9 months ago
[-] Heavybell@lemmy.world 5 points 9 months ago

You can also use them to split lists where the items have commas in them. Like if you're saying you're holding a party and you invited A, whom you dislike but would feel bad to exclude; B, who you've not seen in years and really want to catch up with; and C, who is also going to be there.

[-] mihnt@lemmy.world 62 points 9 months ago

I shit myself; I guess I'm changing my pants.

[-] mkwarman@lemmy.mkwarman.com 20 points 9 months ago

Great work!

load more comments (1 replies)
[-] GnomeKat@lemmy.blahaj.zone 33 points 9 months ago* (last edited 9 months ago)

My 2c is that if the majority of people are confused about the purpose of a punctuation mark or language feature in general, then that feature is not actually fulfilling a useful function. If it was actually useful then people wouldn't be confused, they would just be using it. People would learn it organically and not need it to be explained.

That example sentence would function exactly the same if it was separated by a period, nothing is gained by using a semicolon. No new information is added, you are just going to make people wonder why there is a semicolon there making the sentence less comprehensible.

Its sorta related to the prescriptivism vs descriptivism distinction.

[-] LogarithmicCamel@feddit.uk 31 points 9 months ago

That example sentence would function exactly the same if it was separated by a period; nothing is gained by using a semicolon. No new information is added; you are just going to make people wonder why there is a semicolon there making the sentence less comprehensible.

FTFY. You aren't supposed to separate two independent clauses with a comma.

[-] Snazz@lemmy.world 19 points 9 months ago

I occasionally use semicolons. They can help with parsing; finding a semicolon instead of a period may signify that the next expression is a continuation and expansion of the previous statement.

[-] JackRiddle@sh.itjust.works 17 points 9 months ago

I fully agree with you. However, I like semicolons. They feel very chaotic because nobody knows what they do exactly.

[-] Kolanaki@yiffit.net 10 points 9 months ago

They separate different clauses that don't necessarily have to be two separate sentences. It can be used in place of a comma where you would follow with but, and, or, nor, for, so and yet.

I have a shirt, but it is itchy.

I have a shirt; it is itchy.

load more comments (1 replies)
load more comments (2 replies)
[-] timelighter@lemmy.world 18 points 9 months ago

"Here is a lesson in creative writing. First rule: Do not use semicolons. They are transvestite hermaphrodites representing absolutely nothing. All they do is show you've been to college."

Kurt Vonnegut

[-] GnomeKat@lemmy.blahaj.zone 46 points 9 months ago

That's an oddly transphobic/intersexphobic way to express a criticism of semicolons...

[-] sneezycat@sopuli.xyz 11 points 9 months ago

"If you want to take my guns away from me, and you're all for murdering fetuses, and love it when homosexuals marry each other ... you're a liberal. If you are against those perversions and for the rich, you're a conservative. What could be simpler?"

-Kurt Vonnegut

Yeah it looks like the dude had some issues to say the least...

[-] timelighter@lemmy.world 17 points 9 months ago

That's not his views... that's from an essay where he's parodying the mainstream ultrasimplification of political alignment.

https://inthesetimes.com/article/cold-turkey

You left out some language that I think clears up his ironic tone:

If you want to take my guns away from me, and you’re all for murdering fetuses, and love it when homosexuals marry each other, and want to give them kitchen appliances at their showers, and you’re for the poor, you’re a liberal.

If you are against those perversions and for the rich, you’re a conservative.

What could be simpler?

Totally changes it, doesn't it?

[-] sneezycat@sopuli.xyz 4 points 9 months ago* (last edited 9 months ago)

Oh, interesting. To be fair, Wikipedia left it out (not me), I was actually trying to check if the dude was a bigot or just 200iq ironic.

Still not convinced it's the latter though.

[-] timelighter@lemmy.world 4 points 9 months ago

I've read 12 of Vonnegut's books. He is fundamentally a social progressive, but there are also some moments in some 70s novels (particularly Breakfast of Champions) that I find homophobic. He also has a habit of making women either passive pleasers or full nutso.

But he also explicitly and repeatedly pushes kindness, egalitarian social justice, and willingness to change.

I highly highly recommend every human read Mother Night.

load more comments (1 replies)
[-] FlyingSquid@lemmy.world 3 points 9 months ago

He was born in 1922, so that's not really surprising. Almost no one born that long ago wouldn't have those bigotries.

I'm not trying excusing it. I'm just not surprised.

[-] GBU_28@lemm.ee 3 points 9 months ago

Rules only take us so far, even good rules.

[-] itsnotits@lemmy.world 15 points 9 months ago

what it's* for

[-] Dettweiler42@lemm.ee 14 points 9 months ago* (last edited 9 months ago)

They can also be used as a super comma; because sometime you make a longer sentence, or a sentence with complex clauses.

[-] Coolishguy@lemmy.world 16 points 9 months ago

I'm sorry, but the example in your comment is nonstandard usage. The part after the semicolon would typically be an independent clause, whereas the "because" marks yours as a dependent clause.

There are still comma-like uses though. The major one I can think of is as a separator in a list where each element is long, possibly containing commas of its own.

[-] Cagi@lemmy.ca 16 points 9 months ago* (last edited 9 months ago)

It's more of a weak period than a strong comma; both sides of it need to be complete sentences.

load more comments (2 replies)
[-] dQw4w9WgXcQ@lemm.ee 13 points 9 months ago

They are also a great tool to use in place of tabs or spaces to make java developers lose their minds.

load more comments (1 replies)
[-] Dasnap@lemmy.world 13 points 9 months ago

I use them when a comma or period seem awkward to use in what I'm writing.

[-] solinus@lemmy.cafe 11 points 9 months ago* (last edited 9 months ago)

em dash supremacy—my friend introduced me to this and i haven't looked back since.

alt+0151 on PC, ctrl+alt+minus for word if I remember right. On mobile you go to more symbols, hold down the minus, and slide to the longest one.

Both require numeric keypad though- but using a minus and a space after can work as a substitute--as well as 2 minus signs (plus Lemmy happens to convert that to an em dash) - but like THAT? treason. absolutely not.

You can even join more than 2 independent clauses together as shown above.

[-] sheridan@lemmy.world 4 points 9 months ago* (last edited 9 months ago)

On Mac and iPad it's option-shift-hyphen.

Also there's the en-dash (option-hypen on Mac/iPad), which is slightly shorter: –

The en-dash is meant for ranges of numbers, e.g., 1990–2023, although some use it like an em-dash.

[-] chirospasm@lemmy.ml 3 points 9 months ago

Ah yes -- the em-dash. I will +1 this.

load more comments (1 replies)
load more comments (2 replies)
[-] Psythik@lemmy.world 10 points 9 months ago

As someone who uses them all the time, I don't understand why people struggle with semicolons; they're not a difficult concept to comprehend.

[-] sheridan@lemmy.world 9 points 9 months ago

What about three, four, or more independent clauses? Is that allowed?

[-] superb@lemmy.blahaj.zone 12 points 9 months ago

I think so! Go nuts though, rules are for suckers

[-] KingJalopy@lemm.ee 4 points 9 months ago

Hell, I don't even use semi colon, I go full colon!

[-] usualsuspect191@lemmy.ca 5 points 9 months ago

I think that second comma should be a semicolon. Also, is that an anal sex joke or am I reading too much into it?

load more comments (2 replies)
[-] Smorty@lemmy.blahaj.zone 7 points 9 months ago

You people don't use semicolons; I am very surprised. For real though, I like to use the in German class, as it makes me seem fancy and knowledgeable.

[-] andy_wijaya_med@lemmy.world 6 points 9 months ago

Never seen any semicolon in any German sentences. And I live since 9 years in Germany.

[-] AceSLS@ani.social 5 points 9 months ago

Neither did I. I am a native german btw (23y.o.)

[-] clay_pidgin@sh.itjust.works 4 points 9 months ago
[-] Arcity@feddit.nl 5 points 9 months ago

You can't just say perchance.

load more comments (3 replies)
[-] johnyrocket@feddit.ch 7 points 9 months ago* (last edited 9 months ago)

DELIMITER //

SELECT name, definition

FROM definitions

WHERE name like ';'//

DELIMITER ;

[-] HowShouldIKnow@lemm.ee 4 points 9 months ago

I missed the bus; and that is something I will never ever ever do again

[-] oneiros@lemmy.blahaj.zone 14 points 9 months ago

Omit the "and", and you've got it; otherwise, a regular old comma would be the right punctuation there.

load more comments (1 replies)
[-] Squirrel@thelemmy.club 7 points 9 months ago

Semicolons generally replace a comma + conjunction. So use it instead of the "and" (or "because," "but," etc.) and you're good.

load more comments (1 replies)
[-] Leate_Wonceslace@lemmy.dbzer0.com 4 points 9 months ago

Semicolons are my favorite punctuation; I love showing off.

[-] abbiistabbii@lemmy.blahaj.zone 3 points 9 months ago

I have been reading a lot of News Articles from the 1920s (project I'm working on) and it's really noticeable that they use ";" a lot more.

load more comments
view more: next ›
this post was submitted on 20 Dec 2023
482 points (100.0% liked)

196

16241 readers
1879 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS