Nice TWiki > Dev > VisibilityModifiers (r1.14 vs. r1.15) TWiki webs:
Dev | Doc | Main | TWiki | Sandbox
Dev . { Changes | Index | Search | Go }
 <<O>>  Difference Topic VisibilityModifiers (r1.15 - 12 Jan 2005 - RohanHart)
Added:
>
>

When defining visibility semantics is the assumption that they will apply to well behaved code or must they have runtime enforcement? The latter is likely preferable in real world applications yet may limit the semantics such that they can be implemented with those supplied by the JVM.

Note that Nice also has a form of capability security which is entirely missing from Java - local functions. Extending these to multidispatch LocalMethods? allows for methods private to the enclosing method or explicitly passed to outside parties. What forms of reflection on those method's environments should be allowed is a separate issue. It's almost like defining a method-based rather than class-based object system. Doesn't seem much scope for inheritance either, though functional composition...

-- RohanHart - 12 Jan 2005


Topic VisibilityModifiers . { View | Diffs | r1.15 | > | r1.14 | > | r1.13 | More }
Revision r1.14 - 21 Feb 2004 - 23:45 GMT - DanielBonniot
Revision r1.15 - 12 Jan 2005 - 03:16 GMT - RohanHart
Copyright © 1999-2003 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback.