• charliespider@lemmy.world
    link
    fedilink
    arrow-up
    16
    ·
    1 year ago

    This is the reason for me. Sometimes I don’t want to step through the code and just want to scan through a giant list of output.

    • AeroLemming@lemm.ee
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      1 year ago

      Sometimes, I don’t know what’s wrong, I just know that something in a specific area or small set of variables isn’t working right. It’s a lot easier to notice anomalies by looking through a giant wall of print statements than by stepping through the program. “Oh, that value is supposed to be in the range [0,1), why is it 3.6857e74?”