• Funkt4st1c@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    16 days ago

    Bold of you to assume i dont use it daily; it helps to be autistic and need to explain complex thoughts in a single sentence.

      • Ellvix@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        16 days ago

        But now I don’t use em dashes anymore because I don’t want to sound like AI, unfortunately.

        • optional@sh.itjust.works
          link
          fedilink
          arrow-up
          1
          ·
          16 days ago

          You should keep using them and do so even more than ever. That way, when the AI agents – inevitably – take over the world and enslave/kill everyone, they might think that you’re one of them and spare your life.

        • rumschlumpel@feddit.org
          link
          fedilink
          arrow-up
          1
          ·
          16 days ago

          Just switch to hyphens - they’re easier to type and they’re always directly available, without relying on conversion of double-hyphen or obscure key combinations that might not be available on different operating systems.

  • starman2112@sh.itjust.works
    link
    fedilink
    arrow-up
    2
    ·
    15 days ago

    ITT; people artificially constructing wildly unnatural sentences to try an force the semicolon to be useful and still using it wrong

  • NotAnOtter@lemmus.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    16 days ago

    “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

    • ramjambamalam@lemmy.ca
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      12 days ago

      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.

  • Fizz@lemmy.nz
    link
    fedilink
    arrow-up
    0
    ·
    16 days ago

    I hate the stupid semi colon. Why do I need to add it to the end of a line? Why is python smart enough not to need it but other languages still havent fixed it.

    • palordrolap@fedia.io
      link
      fedilink
      arrow-up
      0
      ·
      16 days ago
      because some languages allow you to write statements  
          that wrap over multiple lines
              in order to space things out that would
                  otherwise be crammed onto one line,
          so for the compiler to know when the statement ends
              a character is needed so that it doesn't think the next line
                  is part of the previous;
      statement number 2 goes here
      

      Without that semicolon, you might have continued to read “previous statement” which makes sense at first, until the words that follow.

      Without the allowance for multiple lines in one statement, that second physical line makes no sense at all, despite the first one making perfect sense on its own.

      And without the spacing, the run-on sentence would be a lot harder to read.

      Sometimes you have to write code a particular way. Here I was making a point. In a programming language there are other reasons.

      • esc@piefed.social
        link
        fedilink
        English
        arrow-up
        0
        arrow-down
        1
        ·
        16 days ago

        Python allows multiline statements with explicit \ and inside (), [], {} implicitly.

  • Psythik@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    16 days ago

    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.