Kona [[Getter]] and [[Setter]] descriptions

Brendan Eich brendan at mozilla.com
Sun Nov 16 23:51:33 PST 2008


On Nov 16, 2008, at 11:49 PM, Peter Michaux wrote:

>> Total nit, but ThrowingPut would be
>> better. Or FalliblePut, or to be long-winded, PutCapableOfThrowing  
>> but not
>> ThrowablePut (the Put is not the object thrown, an exception is).
>
> Any of these are better. ThrowingPut indicates what happens when
> failure occurs and I think that is good if throwing is always what
> happens when failure occurs. FailablePut doesn't make such indication.

Failure means an exception in ES3. I like FalliblePut better than  
ThrowingPut; either is a fix to ThrowablePut.

/be


More information about the Es-discuss mailing list