<p dir="ltr">Hi Juan!<br>
I'm glad to see that you liked it! Thanks!</p>
<br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El vie, 1 nov 2024 17:29, Juan Vuletich <<a href="mailto:juan@cuis.st">juan@cuis.st</a>> escribió:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div bgcolor="#ffffff" text="#000000">
On 10/30/2024 4:20 PM, Victor Gabriel Fierro via Cuis-dev wrote:
<blockquote type="cite">
<div dir="ltr">
<div>Hello again!</div>
<div><br>
</div>
<div style="margin-left:40px">I'm sorry to bother you one more
time, but I realized some mistakes in the changes I sent in
the previous email. The problem is in the functionality of
opening the Change List Window from the Code File Browser. I
realized three problems in the earlier version:</div>
<div style="margin-left:40px">
<ol>
<li>Responsibilities were assigned incorrectly. I made the
Code File have the responsibility of opening the Change
List Window, which makes no sense.</li>
<li>It didn't take into account that the original file could
be moved or removed.</li>
<li>It didn't take into account that the original file could
be modified.</li>
</ol>
</div>
<div style="margin-left:40px">
<div>When I realized these mistakes I started making a new
version of the functionality to replace the previous one,
but I could only solve the first and second problems (At
least to some degree, more on that later). Firstly, in the
new version the Code File Browser Window has the
responsibility to open the Change List Window, which I think
is better. Secondly, now the function checks whether the
file still exists before doing anything, and if it doesn't
then just throws a Pop Up that lets the user acknowledge the
situation.</div>
</div>
<div style="margin-left:40px">
<div>The thing I couldn't do is solve the third problem, the
new code ignores completely whether the file has been
modified or not. Also, although technically the second
problem is "solved", I don't find it satisfactory that if
you remove the file then you can't browse the changes
anymore, even though they are all there in the Code File
browser! I just couldn't figure out a way to convert the
information held by the Code File into a Change List
(Actually I played around with the idea of storing the
Change List that is created in the initialization of Code
File to scan the file. This would solve the problems better
but I don't really like the idea of storing a whole Change
List 'just in case' and also that solution comes with a
bunch of other problems, but I have an implementation of it
if you are interested).</div>
</div>
<div style="margin-left:40px">
<div>Please let me know what you think of this new version,
and share with me any comments or suggestions.</div>
</div>
<div style="margin-left:40px">
<div>Thank you very much!<br>
</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">El lun, 28 oct 2024 a la(s)
4:06 p.m., Victor Gabriel Fierro (<a href="mailto:vigabf@gmail.com" target="_blank" rel="noreferrer">vigabf@gmail.com</a>)
escribió:<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>Hello again!</div>
<div><br>
</div>
<div style="margin-left:40px">I'm Gabriel, and I have a
new contribution to make to Cuis. Last week I sent changes
to the Code File Browser to show classes hierarchically.
After playing with the new version a bit I realized that
the Code File Browser lacked the buttons to alternate
between alphabetical and hierarchical class organization
when you right clicked on them, so I added them. While
doing so I noticed that it also lacked a button to open a
Change List Window to browse through the changes of the
code of the file, so I added too and implemented the
functionality.</div>
<div style="margin-left:40px">I hope that you find these
additions useful!</div>
<div style="margin-left:40px">Have a nice day!<br>
</div>
</div>
</blockquote>
</div>
</blockquote>
<br>
Hi Gabriel,<br>
<br>
I actually liked more the first version:<br>
1. It will have the responsibility in any case, as that's where the
user opens the menu to do it. It shouldn't have knowledge on how to
do it. But it is ok to start the action from there IMO.<br>
2. These are developers tools. If the user moves or removes the
file, it's their fault, and they'll get a reasonable debugger!<br>
3. Same as before. Don't worry. A programmer working with code files
should know what they are doing. Crashing the system of deleting the
code would not be OK. Opening a debugger that explains the problem
is totally OK.<br>
<br>
So, I integrated the first version.<br>
<br>
Thanks!<br>
<pre cols="72">--
Juan Vuletich
<a href="http://cuis.st" target="_blank" rel="noreferrer">cuis.st</a>
<a href="http://github.com/jvuletich" target="_blank" rel="noreferrer">github.com/jvuletich</a>
<a href="http://researchgate.net/profile/Juan-Vuletich" target="_blank" rel="noreferrer">researchgate.net/profile/Juan-Vuletich</a>
<a href="http://independent.academia.edu/JuanVuletich" target="_blank" rel="noreferrer">independent.academia.edu/JuanVuletich</a>
<a href="http://patents.justia.com/inventor/juan-manuel-vuletich" target="_blank" rel="noreferrer">patents.justia.com/inventor/juan-manuel-vuletich</a>
<a href="http://linkedin.com/in/juan-vuletich-75611b3" target="_blank" rel="noreferrer">linkedin.com/in/juan-vuletich-75611b3</a>
<a href="http://twitter.com/JuanVuletich" target="_blank" rel="noreferrer">twitter.com/JuanVuletich</a></pre>
</div>
</blockquote></div>