<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Better names for the preferences could be #disabled, #st80,
#ansiSmalltalk.<br>
<br>
Default could be #st80 (meaning `1@-2` answers the same Point as `1
@ (-2)`.<br>
<br>
If nobody disagrees strongly, I guess I'll push it like that, using
Hilaire's new PreferenceNG.<br>
<br>
Thanks!<br>
<br>
On 5/13/2022 3:32 PM, Juan Vuletich via Cuis-dev wrote:
<blockquote cite="mid:627EA44A.5000007@zoho.com" type="cite">
<meta http-equiv="Context-Type" content="text/html; charset=UTF-8">
<title></title>
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">
<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>--
Juan Vuletich
<a moz-do-not-send="true" href="http://www.cuis-smalltalk.org">www.cuis-smalltalk.org</a>
<a moz-do-not-send="true" href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a>
<a moz-do-not-send="true" href="https://github.com/jvuletich">https://github.com/jvuletich</a>
<a moz-do-not-send="true" href="https://www.linkedin.com/in/juan-vuletich-75611b3">https://www.linkedin.com/in/juan-vuletich-75611b3</a>
<a moz-do-not-send="true" href="https://independent.academia.edu/JuanVuletich">https://independent.academia.edu/JuanVuletich</a>
<a moz-do-not-send="true" href="https://www.researchgate.net/profile/Juan-Vuletich">https://www.researchgate.net/profile/Juan-Vuletich</a>
<a moz-do-not-send="true" href="https://patents.justia.com/inventor/juan-manuel-vuletich">https://patents.justia.com/inventor/juan-manuel-vuletich</a>
<a moz-do-not-send="true" href="https://twitter.com/JuanVuletich">https://twitter.com/JuanVuletich</a></pre>
</blockquote>
<br>
<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>