• Limonene@lemmy.world
    link
    fedilink
    arrow-up
    55
    arrow-down
    1
    ·
    1 day ago

    When I worked on OpenStack for a few years, 80% of the bugs I fixed were type errors that could have been prevented by Python being staticly typed.

    • Scrubbles@poptalk.scrubbles.tech
      link
      fedilink
      English
      arrow-up
      40
      arrow-down
      1
      ·
      1 day ago

      Yeah strong disagree with this meme. 15 years into my career and everything gets a data type.

      The only engineers I know who still don’t like strong types are engineers who haven’t lost a weekend due to a stupid type issue. Once you have one or a few of those, you start to like types again.

      • Rednax@lemmy.world
        link
        fedilink
        arrow-up
        13
        ·
        1 day ago

        I remember a javascript library where the was a function that returned, according to the documentation, “a color”. Did it return an object with 3 fields? Were those fields RGB or some other color scheme? Is it a string encoding a color? What format is that string? None of these questions could be answered without just running the code, and analyzing the object you got back.