Back writing in my website.

  • TehPers@beehaw.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    15 hours ago

    Again, the discussion was about multiline comments, not programming languages.

    And regardless of all that, JSX remains one of the most used languages in the world and supports only multiline comments in certain contexts, and JavaScript as a whole uses multiline comments generously.

    The discussion was around multiline comments being an anti-pattern, which is entirely untrue. They just serve a different purpose than single-line comments, and usage varies from language to language.

    • thingsiplay@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      15 hours ago

      The discussion was around multiline comments being an anti-pattern, which is entirely untrue.

      It is an antipattern in Bash. He did not say that for HTML or JavaScript.

      • TehPers@beehaw.org
        link
        fedilink
        English
        arrow-up
        0
        ·
        15 hours ago

        Bash doesn’t have multiline comments. Even the article acknowledges this lol. From context, it was a general statement, not specific to Bash.

        • thingsiplay@lemmy.ml
          link
          fedilink
          arrow-up
          0
          ·
          15 hours ago

          The entire point was having multiline comments in POSIX shell. So that’s what we are discussing here right? That’s the entire reason we discuss this. Edit: Also as said, this is about programming languages, not markup languages.