<div dir="ltr">Hi Mark,<div> thank you for sharing!</div><div> I did not have time to look at the code but I evaluated the example and I saw something I wanted to tell you because it is a "minor common" mistake when coming from other programming languages. At the end of the FinancialHistoryView class>>#example it says:</div><div><br></div><div> FinancialHistoryView open: history.</div><div><br></div><div> Because self is FInancialHistoryView, you could just do:</div><div><br> <div> self open: history.</div><div><br></div><div> It is better to send the message to self instead of to FinancialHistoryView because you reduce coupling and if somebody subclasses FinancialHistoryView, the #open message will be sent to the subclass, an expected behavior.</div><div> This minor mistake is common when coming for C++/Java/C# etc. where there is no "class side", just "static"... and in static methods there is no self/this.</div><div> Of course that maybe you copied that example from the book so we should say that to Adele hahahaha,... if that is the case, no way I'm going to do that! hahaha.</div><div><br></div><div>Thank you and Cheers!</div></div><div>Hernan</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Tue, Apr 1, 2025 at 11:36 AM Mark Volkmann via Cuis-dev <<a href="mailto:cuis-dev@lists.cuis.st">cuis-dev@lists.cuis.st</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>I recently finished reading the book "Smalltalk-80 The Interactive Programming Language" by Adele Goldberg. Appendix 1 in the book presents a "Financial Tools" app. I took a shot at implementing this in Cuis. You can find my version here: <a href="https://github.com/mvolkmann/Cuis-Smalltalk-FinancialTools" target="_blank">https://github.com/mvolkmann/Cuis-Smalltalk-FinancialTools</a>.</div><div><br></div><div>Perhaps someone will find this interesting. Better yet, perhaps someone will look at the code and tell me what should be done differently.</div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><font face="arial, helvetica, sans-serif">R. Mark Volkmann</font></div><div><span style="font-size:12.8px"><font face="arial, helvetica, sans-serif">Object Computing, Inc.</font></span></div></div></div></div></div></div></div></div></div>
-- <br>
Cuis-dev mailing list<br>
<a href="mailto:Cuis-dev@lists.cuis.st" target="_blank">Cuis-dev@lists.cuis.st</a><br>
<a href="https://lists.cuis.st/mailman/listinfo/cuis-dev" rel="noreferrer" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
</blockquote></div><div><br clear="all"></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div style="font-size:small"><div dir="ltr"><div dir="ltr"><div style="font-size:12.8px"><span style="font-family:tahoma,sans-serif;font-size:xx-small;border-collapse:collapse"><strong><span style="font-size:8pt"><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></strong></span></div><div style="font-size:12.8px"><span style="font-family:tahoma,sans-serif;font-size:xx-small;border-collapse:collapse"><strong><span style="font-size:8pt"><span style="font-size:small"><font size="2"><span style="font-weight:normal">Phone: +54-011</span></font></span></span></strong></span><font face="tahoma, sans-serif" size="2">-4893-2057</font></div><div style="font-size:12.8px"><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 style="font-size:12.8px"><span style="font-family:tahoma,sans-serif;font-size:xx-small;border-collapse:collapse"><strong><span style="font-size:8pt"><span style="font-size:small"><font size="2"><span style="font-weight:normal">site: <a href="http://www.10pines.com/" style="color:rgb(17,65,112)" target="_blank">http://www.10Pines.com</a></span></font></span></span></strong></span></div><div style="font-size:12.8px"><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>