<!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">
    Updated version is attached.<br>
    <br>
    Hilaire, please check that the use of Preference NG is reasonable.<br>
    <br>
    Folks, please check that the names and default I used make sense.<br>
    <br>
    On 5/13/2022 5:14 PM, Hernan Wilkinson via Cuis-dev wrote:
    <blockquote
cite="mid:CAJAbP8jcNRR37ckusekgoj-w+y_+eUv8KtXvDR2-MwEUEMy8PA@mail.gmail.com"
      type="cite">
      <meta http-equiv="Context-Type" content="text/html; charset=UTF-8">
      <div>The only concern I have with this is that I do not think that
        using preferences for the syntax of the language is a good
        idea... it will make incompatible cuis code depending on how the
        preference is set... I do not have a better solution (only the
        one I suggested earlier :-) ), so I do not have a strong
        opinion against it, I do not like the idea but I can live with
        it and see how it goes.
        <div><br>
        </div>
        <div>Hernan.<br>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
    Let's hope that whoever modifies that preference knows what they are
    doing.<br>
    For example for loading code for Pharo. In that case, the default
    behavior will break stuff.<br>
    Shortly, I'll try all packages in the Cuis-Smalltalk github
    organization with the preference at #disabled, to find and fix
    existing code that would break in such case.<br>
    <br>
    Besides, I suggest having it at #disabled when writing code, to
    avoid unneeded suffering in the future.<br>
    <br>
    Thanks,<br>
    <br>
    <br>
    <blockquote
cite="mid:CAJAbP8jcNRR37ckusekgoj-w+y_+eUv8KtXvDR2-MwEUEMy8PA@mail.gmail.com"
      type="cite"><br>
      <div>
        <div>On Fri, May 13, 2022 at 4:41 PM Juan Vuletich via Cuis-dev
          <<a moz-do-not-send="true"
            href="mailto:cuis-dev@lists.cuis.st">cuis-dev@lists.cuis.st</a>>
          wrote:<br>
        </div>
        <blockquote>
          <div> 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 type="cite"> On 5/13/2022 1:41 PM, Nicolas
              Cellier via Cuis-dev wrote:
              <blockquote 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"></a>
</pre>
            </blockquote>
          </div>
        </blockquote>
      </div>
    </blockquote>
    <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>