• @thedoginthewok
    link
    English
    1341 year ago

    It’s easy to understand, when you turn the brackets into readable characters.
    o for opening bracket (
    c for closing bracket )

    So ()() would be ococ, which is coco backwards and clearly not a palindrome.

    ())( would be occo, which is a palindrome.

  • NightDice
    link
    fedilink
    English
    471 year ago

    The brackets example is the one I use to drill into people’s heads that it has nothing to do with visual symmetry

    • @wolfpack86
      link
      English
      20
      edit-2
      1 year ago

      I guess to make it more relatable it could be better as

      db db // db bd

      My brain defaulted to assuming it was a programming reference