> I think Ada and Eiffel are the only two languages that pay detailed
> attention to the problem of providing privileged access to
> otherwise private data.
There is also the module system of the ML family of languages, like
O'Caml (see http://pauillac.inria.fr/ocaml/) or Standard ML (see
http://cm.bell-labs.com/cm/cs/what/smlnj/index.html).
There you have separate modules and module types and you can tune the
accessibility by projecting a module on different module types. It is
reall a pleasure to use.
Conceptually, such a module language is independent of the core
language, but only in my wildest dreams I could see Fortran 2K+X move
in this direction.
Cheers,
-Thorsten
--
Thorsten Ohl, Physics Department, TU Darmstadt -- [log in to unmask]
http://crunch.ikp.physik.tu-darmstadt.de/~ohl/ [<=== PGP public key here]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|