Don’t say anyway, say anyhow

  • sirdorius@programming.dev
    link
    fedilink
    arrow-up
    8
    ·
    edit-2
    4 days ago

    Unwrap is good for prototyping and trying out stuff fast, but it generally shouldn’t make it past a code review onto main, unless you’re very sure

    • dejected_warp_core@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 day ago

      Exactly.

      Personally, I call it “python mode” since you’re staying on the “happy path” and let the program just crash out if those expectations aren’t met.