<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
On 5/13/2022 1:41 PM, Nicolas Cellier via Cuis-dev wrote:
<blockquote
cite="mid:CAKnRiT7sbZV6JE3BuVx-UfO0EcbVtWqSzJ=eyoa+B1Eeaf=99w@mail.gmail.com"
type="cite">
<meta http-equiv="Context-Type" content="text/html; charset=UTF-8">
<div>So we did not have to introduce the @- selectors & co...<br>
</div>
<br>
</blockquote>
<br>
Given the path followed by Squeak and Pharo, and what ANSI Smalltalk
says, and the preferences several of you just said, the attach is my
proposal.<br>
<br>
It adds a new preference #atMinusDigitMeaning. Possible values are:
#disabled, #negativeNumberParameter and #atMinusSelector. It doesn't
only control '@-', but any binary selector ending in $-, with size
> 1.<br>
<br>
The question is what to use as a default value.<br>
ST-80 and Squeak go with #negativeNumberParameter. <br>
ANSI Smalltalk and Pharo do #atMinusSelector. <br>
#disabled is also a reasonable alternative, helping programmers
understand a smell in their code.<br>
<br>
Thanks,<br>
<pre class="moz-signature" cols="72">--
Juan Vuletich
<a class="moz-txt-link-abbreviated" href="http://www.cuis-smalltalk.org">www.cuis-smalltalk.org</a>
<a class="moz-txt-link-freetext" href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a>
<a class="moz-txt-link-freetext" href="https://github.com/jvuletich">https://github.com/jvuletich</a>
<a class="moz-txt-link-freetext" href="https://www.linkedin.com/in/juan-vuletich-75611b3">https://www.linkedin.com/in/juan-vuletich-75611b3</a>
<a class="moz-txt-link-freetext" href="https://independent.academia.edu/JuanVuletich">https://independent.academia.edu/JuanVuletich</a>
<a class="moz-txt-link-freetext" href="https://www.researchgate.net/profile/Juan-Vuletich">https://www.researchgate.net/profile/Juan-Vuletich</a>
<a class="moz-txt-link-freetext" href="https://patents.justia.com/inventor/juan-manuel-vuletich">https://patents.justia.com/inventor/juan-manuel-vuletich</a>
<a class="moz-txt-link-freetext" href="https://twitter.com/JuanVuletich">https://twitter.com/JuanVuletich</a></pre>
</body>
</html>