[Cuis-dev] Behavior hierarchy type error fixes

Juan Vuletich juan at jvuletich.org
Tue Jun 30 07:03:57 PDT 2020


On 6/30/2020 10:18 AM, Hernan Wilkinson via Cuis-dev wrote:
> Cool!
> I pushed it to github
>
> Cheers!
> Hernan.
>
> On Mon, Jun 29, 2020 at 3:59 PM Juan Vuletich <juan at jvuletich.org 
> <mailto:juan at jvuletich.org>> wrote:
>
>     On 6/29/2020 2:28 PM, Hernan Wilkinson via Cuis-dev wrote:
>     > Thank you for taking the time to look at it. I was not sure about
>     > sending these changes because they are more cosmetic/formal but one
>     > fix (the one of #allRegularInstVarNames. I wrote a test for it)
>     >
>     > I agree with your changes, although I have comments on two of them:
>     > 1) The reason I made #allClassVarNames abstract in Behavior is
>     because
>     > superclass can be nil and the type checker shows the implementation
>     > you left as warning. Moving it to Metaclass (where superclass
>     can not
>     > nil) solves the problem. The final result is the same.
>
>     Oh, yes. That makes sense!
>
>     > 2) I see you removed #allSharedPools from Metaclass, is that
>     correct?
>     > I mean, currently it is possible to send that message to a
>     Metaclass.
>
>     Yes, but (as you said) metaclasses don't define sharedPools. So, if
>     anyone is calling that method, they are most likely confused. I
>     think it
>     is best to remove it, and if some day we learn something else about
>     this, then do whatever is best.
>
>     >
>     > Cheers!
>     > Hernan.
>
>     Thanks,
>
>     -- 
>     Juan Vuletich
>     www.cuis-smalltalk.org <http://www.cuis-smalltalk.org>
>     https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
>     https://github.com/jvuletich
>     https://www.linkedin.com/in/juan-vuletich-75611b3
>     @JuanVuletich
>
>
>
> -- 
> *Hernán Wilkinson
> Agile Software Development, Teaching & Coaching*
> *Phone: +54-011*-4893-2057
> *Twitter: @HernanWilkinson*
> *site: http://www.10Pines.com <http://www.10pines.com/>*
> Address: Alem 896, Floor 6, Buenos Aires, Argentina

Thanks!

-- 
Juan Vuletich
www.cuis-smalltalk.org
https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
https://github.com/jvuletich
https://www.linkedin.com/in/juan-vuletich-75611b3
@JuanVuletich

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20200630/5bbf0179/attachment-0001.htm>


More information about the Cuis-dev mailing list