Sjmarf@sh.itjust.works to Programmer Humor@programming.dev · 5 months agoBrace Stylesh.itjust.worksimagemessage-square33fedilinkarrow-up120arrow-down10
arrow-up120arrow-down1imageBrace Stylesh.itjust.worksSjmarf@sh.itjust.works to Programmer Humor@programming.dev · 5 months agomessage-square33fedilink
minus-squareVictor@lemmy.worldlinkfedilinkarrow-up0·5 months agoI thought python allowed whatever indentation you wanted as long as it’s consistent?
minus-squareFillicia@sh.itjust.workslinkfedilinkarrow-up0·5 months agopep8 calls for 4 space but it is a guidance not a rule. Google internal style guide recommend(ed?) 2 spaces to accomodate the line length limit.
I thought python allowed whatever indentation you wanted as long as it’s consistent?
pep8 calls for 4 space but it is a guidance not a rule.
Google internal style guide recommend(ed?) 2 spaces to accomodate the line length limit.