<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><font size="+1">Phil already discussed what happens in that
situation.<br>
</font></p>
<p><font size="+1">Now from a practical point of view, regarding
Smalltalk way, the right move is to propose to the JSON package
maintainer to add your class side method readFromString: to the
JSON package.</font></p>
<p><font size="+1">After all, if you find this added method is
convenient to read Json files, it is likely to be convenient for
other users of the JSON package.</font></p>
<p><font size="+1">If the package maintainer does not agree, I don't
know. May be the safest way will be to subclass Json in your own
package and add the methods you need.<br>
</font></p>
<p><font size="+1">Best</font></p>
<p><font size="+1">Hilaire</font><br>
</p>
<div class="moz-cite-prefix">Le 14/08/2021 à 19:46, Nicola Mingotti
via Cuis-dev a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:b48084a8-5ae2-1484-179a-7fb504962845@gmail.com"><font
size="+1"><font face="monospace">I defined a method in my
package 'Wunderbar', it is 'readFromString', which<br>
goes into class 'Json class side' and method category
'*Wunderbar-DB'.<br>
<br>
Now, suppose a day in the future I upgrade Cuis and
'readFromString'<br>
is now defined into 'Json class'. What will happen when i try
to load 'Wunderbar' package ?<br>
<br>
. Do i get an error for method name overlap ?<br>
. If not, is there any criteria by which one method should be
called instead of the other<br>
for example: looking at which method category it belongs to ?<br>
</font></font></blockquote>
<pre class="moz-signature" cols="72">--
GNU Dr. Geo
<a class="moz-txt-link-freetext" href="http://drgeo.eu">http://drgeo.eu</a>
<a class="moz-txt-link-freetext" href="http://blog.drgeo.eu">http://blog.drgeo.eu</a></pre>
</body>
</html>