Mark Seaborn:
'Introducing CapPython
["/.../ Python has a convention for private attributes of objects which is widely used. Attributes that start with an underscore are private. /.../
CapPython proposes that we enforce this convention by defining a subset of Python to enforce it. The hope is that this subset could be an object-capability language. Hopefully we can do this in such a way that you can get encapsulation by default and still have fairly idiomatic Python code."]
↧