<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr">Dude I was just reading a paper about Ropes. It’s cool stuff! I also saw that there’s a ropes implementation in the Cuis repo. </div><div dir="ltr"><br></div><div dir="ltr">I’m loving this immutability stuff, Hernan. +1 wrt Juan’s comments on this one. </div><div dir="ltr"><br></div><div dir="ltr">—Casey</div><div dir="ltr"><br><blockquote type="cite">On May 8, 2020, at 6:16 AM, Juan Vuletich via Cuis-dev <cuis-dev@lists.cuis.st> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
On 5/7/2020 3:56 PM, Hernan Wilkinson via Cuis-dev wrote:
<blockquote cite="mid:CAJAbP8hjUa4GyTqH7Dq8FkdkspS_VJTudapa6QJ0DHsFgMuS=g@mail.gmail.com" type="cite">
<div dir="ltr">Hi,
<div> I just added to Cuis-Smalltalk-Dev/Packages/System a
package to set an object as immutable. </div>
<div> The package name is <a moz-do-not-send="true" href="http://Immutability.pck.st">Immutability.pck.st</a>
and it has tests in <a moz-do-not-send="true" href="http://ImmutabilityTest.pck.st">ImmutabilityTest.pck.st</a></div>
<div><br>
</div>
<div> To make an object immutable just send the
message #beImmutable to it. To make it mutable #beMutable.</div>
<div> If you try to modify an immutable object the
ModificationForbidden exception will be signal which is
resumable.</div>
<div><br>
</div>
<div> Please, look at the tests for more examples.</div>
<div><br>
</div>
<div>Cheers!</div>
<div>Hernan.</div>
<div>
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div><span style="font-family:
tahoma,sans-serif; font-size:
xx-small; border-collapse:
collapse;"><strong><span style="font-size: 8pt;"><span><span style="font-size: small;"><font size="2"><span style="font-weight:
normal;"><span style="font-weight:
bold;">Hernán
Wilkinson</span><br>
Agile Software
Development, Teaching
& Coaching</span></font></span></span></span></strong></span></div>
<div><span style="font-family:
tahoma,sans-serif; font-size:
xx-small; border-collapse:
collapse;"><strong><span style="font-size: 8pt;"><span><span style="font-size: small;"><font size="2"><span style="font-weight:
normal;">Phone: +54-011</span></font></span></span></span></strong></span><font size="2" face="tahoma, sans-serif">-4893-2057</font></div>
<div><strong style="font-family:
tahoma,sans-serif; font-size:
xx-small;"><span style="font-size:
8pt;"><span style="font-size:
small;"><font size="2"><span style="font-weight: normal;">Twitter:
@HernanWilkinson</span></font></span></span></strong></div>
<div><span style="font-family:
tahoma,sans-serif; font-size:
xx-small; border-collapse:
collapse;"><strong><span style="font-size: 8pt;"><span><span style="font-size: small;"><font size="2"><span style="font-weight:
normal;">site: <a moz-do-not-send="true" href="http://www.10pines.com/" style="color: rgb(17, 65, 112);" target="_blank">http://www.10Pines.com</a></span></font></span></span></span></strong></span></div>
<div><font face="tahoma, sans-serif"><span style="border-collapse: collapse;">Address:
Alem 896</span></font>, Floor 6,
Buenos Aires, Argentina</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
Very nice, Thanks!<br>
<br>
Next steps include how to make method literals be immutable.<br>
<br>
Something else that would be great is to gradually make Strings
immutable. That would allow us to replace String with Rope if
desired.<br>
<br>
Cheers,<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>
@JuanVuletich</pre>
<span>-- </span><br><span>Cuis-dev mailing list</span><br><span>Cuis-dev@lists.cuis.st</span><br><span>https://lists.cuis.st/mailman/listinfo/cuis-dev</span><br></div></blockquote></body></html>