• @rwhitisissle@lemmy.ml
    link
    fedilink
    102 months ago

    python guidelines

    Do you have a specific PEP you’re referencing or is this one of those “I assume this must be the case because of how common using try/except statements for flow control are” kind of things?

      • @rwhitisissle@lemmy.ml
        link
        fedilink
        12 months ago

        I think there’s a difference between “python guidelines encourage” something and “this is a common coding pattern.” Yes, you can use try/except for flow control, but there’s a lot of people, myself included, who try to use that style sparingly.