<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p>Hi Levente,</p>
<p><br>
</p>
<p>please ignore my previous message, I should have read this one first. :-) I think a problem with tests is that in our usual workflow, they will be ignored until it's release time again. This is why I would hesitate to use them for defining any kind of coding
 style or guideline, their feedback cycle is much more indirect than an immediate DeprecationWarning. If we really cannot deprecate #ifNotNilDo: in the common way, what about something like #trunkDeprecated: which only raises a warning if the sender is located
 in a Trunk package? Or would this be too slow?</p>
<p><br>
</p>
<p>Best,</p>
<p>Christoph</p>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Von:</b> Squeak-dev <squeak-dev-bounces@lists.squeakfoundation.org> im Auftrag von Levente Uzonyi <leves@caesar.elte.hu><br>
<b>Gesendet:</b> Freitag, 3. September 2021 20:42:56<br>
<b>An:</b> The general-purpose Squeak developers list<br>
<b>Betreff:</b> [squeak-dev] Deprecating #ifNotNilDo: & friends</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Hi All,<br>
<br>
We already have #ifNotNil: which has been doing the same thing as <br>
#ifNotNilDo: for about 10 years now.<br>
The idea is to deprecate #ifNotNilDo: softly, without raising a warning on <br>
usage just like how it's done with #doWithIndex:.<br>
The inbox entries 60Deprecated-ul.96 and Kernel-ul.1409 contain the <br>
necessary changes, while KernelTests-ul.405 has an additional test to <br>
verify that no methods use #ifNotNilDo:.<br>
<br>
<br>
Levente<br>
<br>
</div>
</span></font>
</body>
</html>