<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Le 12/04/2019 à 18:40, Samuel Gougeon a
écrit :<br>
</div>
<blockquote cite="mid:3c25a170-877b-d06a-d081-0f9965f6d6de@free.fr"
type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<tt><font color="#cc33cc"><font size="-1">.../...</font></font></tt><br>
<br>
<blockquote
cite="mid:HE1PR0902MB194735634395F9E25B52887DB22D0@HE1PR0902MB1947.eurprd09.prod.outlook.com"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#0070C0"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0">Maybe we can
include functions in un/protect feature but what to do
with funcprot ?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0">I think it
will be difficult to keep both and that will be puzzling
for users.</span></p>
</div>
</blockquote>
<font color="#cc33cc">Samuel: clearly, if some "class protection"
is implemented and enabled in addition to some object
protection, funcprot() would have to be deprecated and removed.<br>
<br>
Now, the question is: <b>is a general class protection actually
needed?</b> <br>
For all data types: likely not. For libraries: i don't think so.
But other contributions to this discussion would be welcome.<br>
Reverse question: If funcprot() is kept, will protect() will
apply to functions as well, or will be excluded? If it applies
to them, how will this cope with funcprot()?<br>
</font></blockquote>
<br>
Because presently funcprot() does not prevent silently clearing a
function, it looks unrelevant to extend its mechanism to some other
data types. But <br>
<ul>
<li>would it be hard to change this behavior: warning or yielding
an error <i>as well </i>when a function is cleared?</li>
<li>Then, would it be hard to extend the changed behavior to any
given data type?</li>
</ul>
Samuel<br>
<br>
</body>
</html>