• Zexks@lemmy.world
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    4 days ago

    If you decompile that code you won’t get lambdas. You get ifs. Because that is how the hardware is build. Ifs/ands/Ors that is what computing is built on. Everything else is flavor.

    • platypus_plumba@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      6 hours ago

      The title of the post is “how to avoid if-else hell”, not “how to avoid conditionals”. Not sure what’s your point.