• logging_strict
    link
    fedilink
    arrow-up
    2
    ·
    7 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.

      • logging_strict
        link
        fedilink
        arrow-up
        1
        ·
        3 days 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.