<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">On 26/01/2023 19:22, Archie Cobbs
wrote:<br>
</div>
<blockquote type="cite" cite="mid:CANSoFxvXCxoEQtbFjUV2BZCj81_EazLts6rhEruLetpG_HOvUg@mail.gmail.com">
<div>So what do you think then of only allowing access to <i>local</i>
fields prior to super()?</div>
</blockquote>
<p>By local fields I assume you mean "fields defined in the same
class as constructor".</p>
<p>I doesn't change my opinion much, if I'm being honest. I'm
skeptical of anything that can affect the observable
initialization order of fields in a class.</p>
<p>For instance, even if we only allow updates to local fields, an
instance initializer can now see these updates. for you, this is
something good, for me this is just something else that developers
would have to remember about initialization order.</p>
<p>Is it terrible? Probably not. Do we really need to go there?
Probably not, either :-)<br>
</p>
<p>Maurizio<br>
</p>
<p><br>
</p>
</body>
</html>