• Albbi@piefed.caOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    23 hours ago

    I was looking to see if there are equivalents to Java’s private and protected members, and it looks like Python’s answer to that is just throw one or two underscores in front of things to do that. And it doesn’t really do anything, more of just a naming convention. To me that feels like a basic OO structure that is shoehorned into Python.