Re: [External] : Re: Discussion: Naming API method

2022-11-23 Thread Kevin Rushforth
That seems reasonable to me, so let's stick with "when". -- Kevin On 11/21/2022 4:21 PM, John Hendrikx wrote: I'm still leaning towards just "when" mainly because its short and, although perhaps not 100% accurate, recognizable enough like `map` or `flatMap` would be.  I think once it is in

Re: [External] : Re: Discussion: Naming API method

2022-11-21 Thread John Hendrikx
I'm still leaning towards just "when" mainly because its short and, although perhaps not 100% accurate, recognizable enough like `map` or `flatMap` would be.  I think once it is in a bit more common use, it will be quite clear what it does and what it is intended for without needing to be remin

Re: [External] : Re: Discussion: Naming API method

2022-11-21 Thread Kevin Rushforth
Maybe "updatedWhen" would work, although I still like "activeWhen" or simply "when" better. The problem that has been raised about "updateWhen" is that it isn't really the right verb tense. What we want is a binding that is updated (or active) when the condition evaluates to true. The value its