On dropping @names

Brendan Eich brendan at mozilla.com
Fri Dec 28 12:01:47 PST 2012


Andreas Rossberg wrote:
> 1. Those where initialization can be performed at the start of the 
> scope (which is what I meant by "hoisted" above), 

The h-word will die hard. I think most people use it to mean this, i.e., 
function hoisting. With "var" context it means binding but not 
initialization hoisting, and that adds confusion.

Personal position: I'm not going to drop the word "hoist" and variants, 
but I'll try to specify binding vs. init (which implies binding), and to 
what scope, in the future.

/be


More information about the es-discuss mailing list