• logging_strict
    link
    fedilink
    arrow-up
    1
    ·
    8 days ago

    don’t break up long functions

    Some things are so complex they can only be understood in long functions. Break up the long functions and what’s going on is lost.

    Only have one example where the complexity is best left alone, the heart of a requirements management package. Where the whole is greater than the sum of it’s parts. Or the parts lose meaning if taken in isolation.

    docstrings

    surprised flake8+black even allows a comment as the docstring.

    Prefer triple single quotes over triple double quotes. But black slapped me back into conformance. Of course i’m right, but evidently that’s not good enough. So triple double quotes it is.

    Slap me often and hard enough, i learn conform.

    Except for build backends and requirements management.