• R0cket_M00se@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    9 months ago

    Shouldn’t be forgetting for one off scripts either, if that’s the logic you want to go with.

    The tool exists, either you do it or you don’t and end up getting an error until the interpreter hits that line. It’s just the nature of being compiled at runtime.

    • magic_lobster_party@kbin.social
      link
      fedilink
      arrow-up
      0
      ·
      9 months ago

      “Ohh, I got all these numbers I want to crunch using numpy or pandas and plot it using matplotlib. Hold on, I just need to write unit tests first.”

        • magic_lobster_party@kbin.social
          link
          fedilink
          arrow-up
          1
          ·
          9 months ago

          TDD only works well if the problem is clearly specified before the first line of code has been written, which is rarely the case when I need Python for something.