<div dir="ltr">Hi Phil!<div> interesting idea. I agree that we need a better way to show those kind of message.</div><div> I have two comments on what you sent:</div><div>1) This is a functional/user experience comment: I think the current idea is not to interfere with the programmers flow of work... You proposal signals an exception and the debuggers shows up stoping the execution and taking the user out of context. I think this kind of messages should not bother the programmer that much. </div><div>2) This is an implementation comment: To check if it is the first time you are saving the method's printString. If the method or class get renamed it will be recognized as first time even though it is not... not a big deal and I'm not sure it can be solved.</div><div><br></div><div>I think the best solution would be to show this lint messages in the browser and not when executing code. </div><div>For example, I would like to see in the browser that a message I'm sending is deprecated (not really possible unless you use Live Typing). The same for a non local return in an exc. handler (that is doable).</div><div>The current solution that shows that in the transcript is a good compromise.</div><div><br></div><div>Why you do not like those messages to be shown in the transcript? Is it because you are using it to show other things or because it is showing too many messages?</div><div><br></div><div>Cheers!</div><div>Hernan. </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 18, 2019 at 2:15 AM Phil B 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">Something that has been bugging me for a while is how we use Transcript/errors to log/notify about non-error types of things that are really more runtime lint types of issues. I've been finding that they occur often enough to spam the Transcript and/or be annoying as errors.<div><br></div><div>So I've taken an initial stab at an image linter idea which would allow us to capture the details about things we need to fix and (optionally) notify the user of in an unobtrusive way. The idea is that there are things we need to collection information about but only a subset of those that users actually care about in realtime. The user can then tweak whether they will see on screen warnings, and if so if they will see them only once, and above what priority level they want to see.</div><div><br></div><div>MyClass shows the basic idea though the image will start populating the font deprecation warnings right away (I've re-enabled all of them just to show that we could do that without it being overwhelming. You can get to the useful data via 'Smalltalk lint') There is one bug I've noticed so far: the non-local return notification doesn't return the value from the exception block. Anyway, I just wanted to show you what I've got so far to see if you think it's worth pursuing.</div><div><br></div><div>Thanks,</div><div>Phil</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><br clear="all"><div><br></div>-- <br><div dir="ltr" class="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 face="tahoma, sans-serif" size="2">-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 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>