PEP666: Comprehensive bullshit leading character proposal. Lets use _ to mean...
PEP666: Comprehensive bullshit leading character proposal.
Lets use _ to mean private but it will always be a lie as nothing is private
__ to mean stdlib cares about this naming convention
___ means friend
____ means okay to access if you're a unit test
_____ means I can use this, but you can't
______ means final, please don't override, but it is a lie
_______ means readonly, but you can write, it is a lie
________ means write once, but it is a lie
_________ means secret, but it is a lie
Self-replies
Brought to you by bot written code where the bot never has a good feel for what is private. Will some future hypothetical code call this function? Only humans are arrogant enough to think they know. Suddenly the code base is full of _f() calls from everywhere and the bot is reluctant to write a unit test against an underscore function