Neato

  • FizzyOrange@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    4 months 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
      arrow-down
      2
      ·
      4 months ago

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