Re: [whatwg] Confusion about node1.replace(node2)

 

On 2015-01-11 03:58, Bjoern Hoehrmann wrote: 

> * Glen Huang wrote:
> 
>> When someone says A replace B, I get the impression that B is no longer in effect and A is the new one. So when I do `node1.replace(node2)`, I can't help but feel node2 is replaced with node1, which is the opposite of what the spec specifies.
> 
> To illustrate this, imagine some team sports game where the coach jells
> "Jane, replace John!", in other words, `Jane.replace(John)`. It is clear
> that Jane is instructed to take the position of John.
> 
> I could not be able to use a better example to show A replaces B. Excellent.
> 
> ---
> 
> Delfi Ramirez
> 
> My digital signature [1]
> 
> +34 633 589231
> delfin@segonquart.net [2] 
> 
> twitter: delfinramirez
> 
> IRC: segonquart Skype: segonquart [3]
> 
> http://segonquart.net [4]
> 
> http://delfiramirez.info [5]
 

Links:
------
[1] http://delfiramirez.info/public/dr_public_key.asc
[2] mail:%20delfin@segonquart.net
[3] skype:segonquart
[4] http://segonquart.net
[5] http://delfiramirez.info

Received on Monday, 12 January 2015 12:03:49 UTC