• Knusper@feddit.de
    link
    fedilink
    English
    arrow-up
    27
    arrow-down
    1
    ·
    edit-2
    10 months ago

    What that garble of symbols does, is that it defines and calls a function named :, which calls itself twice.

    The syntax for defining a function is different in Fish, so no, this particular garble will not work:

    But it is, of course, possible to write a (much more readable) version that will work in Fish.

    • affiliate@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      10 months ago

      But it is, of course, possible to write a (much more readable) version that will work in Fish.

      the gentleman hacker

    • Karyoplasma
      link
      fedilink
      arrow-up
      2
      ·
      10 months ago

      The ampersand looks very weird in that font. It would bug me.

      • Knusper@feddit.de
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        10 months ago

        It hails back to the early days of the ampersand, from when it was basically still just Latin “et”: https://commons.wikimedia.org/wiki/File:Trebuchet_MS_ampersand.svg

        Personally, I do like this font (Fira Mono+Sans), because it still looks professional, without being so boring that I get depression from looking at it.
        But yeah, that ampersand is pushing it a bit, as I’m not sure everyone else knows that’s an ampersand…