• Frozzie@lemmy.world
    link
    fedilink
    arrow-up
    74
    ·
    11 months ago

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

    • Heavybell@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      11 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.