▲ | kstrauser 7 months ago | |||||||
I do love that about Python. The encapsulation is there but you can work around it if you’re willing to take responsibility for breaking the gentlemen’s agreement. That’s a lovely pattern. | ||||||||
▲ | karmakurtisaani 7 months ago | parent [-] | |||||||
This gets more and more horrible the larger the code base grows and the more developers get involved. My current preference is to have everything public, but immutable. Edit: except for functions. Private functions are a great way of keeping downstream users from touching them. Only expose what you are willing to support. | ||||||||
|