Thanks, John, I understand what you are saying.

  My concern is maybe we shouldn't use that particular word. Both the `model` 
slot name and the `change-model` word are in the basic namespace. Due to the 
way accessors work, `change-`anything bears the risk of ambiguity, and maybe we 
should avoid that pattern of naming in the Factor standard library, unless it's 
an intentional override. Can't we be consistent amongst ourselves?

  I suggest we come up with a better name so as not to conflict with the 
separate language feature (the slot accessors).

  In that particular case, we could use `value-change` or `model-change`, or 
something entirely different.
  `[value]`?

14.06.2017, 15:42, "John Benediktsson" <mrj...@gmail.com>:
> They are two different words. Factor uses a namespace system for lookup using 
> vocabularies of words. If you have the need to use both accessors and models 
> at the same time and need to call change-model you can qualify it at the call 
> site as either accessors:change-model or models:change-model.
>
> So, technically it's not a problem. But I can understand if it becomes an 
> annoyance. We have a few more common change- words that can conflict with the 
> change slot words (like change-nth in sequences).
>
> Could you elaborate on your concerns if they aren't addressed above?
>
> Thanks,
>
>>  On Jun 14, 2017, at 3:25 AM, Alexander Ilin <ajs...@yandex.ru> wrote:
>>
>>  Hello!
>>
>>   I don't think that it's OK that we have the word `change-model` both in 
>> the `models` and in the `accessors` vocabs.
>>   What do you think?
>>
>>  ---=====---
>>  Александр
>>
>>  
>> ------------------------------------------------------------------------------
>>  Check out the vibrant tech community on one of the world's most
>>  engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>  _______________________________________________
>>  Factor-talk mailing list
>>  Factor-talk@lists.sourceforge.net
>>  https://lists.sourceforge.net/lists/listinfo/factor-talk
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk

---=====--- 
 Александр

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to