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.
So you’re saying I can use the semicolon in a different context other than ending an instruction in my Java code ?
Yes, you can end a statement in C or C++ as well.
And, dare I say it, Javascript.
What the fuck? There are children here. Don’t say shit like that.
or begin a comment in Inno
What about Applesoft BASIC? Because I was pretty good at that on my Apple II, but I don’t think there were semicolons.
Also, I don’t know how to code, so I don’t know what semicolons are for in code.
You can ;)
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.