• @[email protected]
    link
    fedilink
    24 days ago

    Oh no a stray None! Take cover …

    Robust codebase should never fail from a stray None

    Chaos testing is specifically geared towards bullet proofing code against unexpected param types including None.

    The only exception is for private support function for type specific checking functions. Where it’s obviously only for one type ever.

    We live in clownworld, i’m a clown and keep the company of shit throwing monkeys.

      • @[email protected]
        link
        fedilink
        120 hours ago

        type hints are static, not necessarily runtime.

        A chaos monkey throws everything at everything to see what breaks.

        That won’t be caught by perfect type hints, which is merely one tool in the toolbox.

        and when things break, often hear WAD, works as designed. Or some other nonsense excuse.