context is that it’s a folder on Windows that isn’t shown by default so you have to open the “run” menu then type it in. Like a cheatcode for a computer.

or at least that’s how it felt the first time I found it when I was like 12 trying to find my Minecraft screenshots

  • MimicJar@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    9 hours ago

    Technically $foo also delimits at both ends, the second character is just a newline or whitespace character. However with %foo% it is unambiguous where the variable begins and ends.

    Also I said newline or whitespace, what about special characters?

    Look at $foo+$bar am I adding two variables together? Is the first variable $foo or $foo+?

    • CheesyFox@lemmy.sdf.org
      link
      fedilink
      arrow-up
      2
      ·
      3 hours ago

      i’m yet to see any language that has variables and ‘+’ operator, while accepting also ‘+’ in variable names at the same time. Same goes for basically every operator

      • Axolotl@feddit.it
        link
        fedilink
        arrow-up
        1
        ·
        2 hours ago

        Didn’t JS do it? Or was it Lua? I don’5 remember but i am sure i saw a language that did some shit like that…