• frezik@midwest.social
    link
    fedilink
    arrow-up
    3
    ·
    8 months ago

    rand() will be infrequent < 10 (at least ten in 2^15 times, if not exponentially more), so automated tests are likely to pass. If they don’t, they’re likely to pass on the second try, and then everyone shrugs and continues. If it’s buried in 500 other lines, then it’s likely the code reviewer will give it all a quick scan and say “it’s fine”. It’s the three line diffs that get lots of scrutiny.

    In other words, you seem to have a lot more faith in the process than I do.