I always think of &quot;read only&quot; as meaning &quot;a read only VIEW&quot;. Examples abound: e.g. opening a file in read-only mode. Even the read-only attribute of a file (which you can change).<br><br>Still - another keyword you might consider appropriate to the meaning &quot;read only view&quot; is &quot;in&quot;. Now there&#39;s a thought;
<br><br>Oh - and here&#39;s something else I&#39;d like to be able to do. Instead of:<br><br>&nbsp;class C<br>&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp; private int my_n;<br>&nbsp;&nbsp;&nbsp;&nbsp; public int n() { return my_n; }<br>&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp; /* all my private code refers to my_n */
<br>&nbsp;}<br><br>I&#39;d like to be able to do<br><br>&nbsp;class C<br>&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp; (privately read-write but publicly read-only) int n;<br>&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp; /* all my private code refers to n */<br>&nbsp;}<br>&nbsp;<br>That would be cool.<br>Thanks
<br><br>