Neato

  • FizzyOrange@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    1 month ago

    foo isn’t a function, it’s a bool. But in any case, as you can see the answer is “with terrible hacks”. Python is not a functional language. It is imperative.

    • nxdefiant
      link
      fedilink
      arrow-up
      2
      ·
      1 month ago

      Yeah, never said it was, just that if you really want to emulate that style you mostly can.