When I said throw out, I didn't mean deprecate. I meant like 'let is the
new var' - an entirely optional programming choice.

I'm not sure what warrants that kind of hostility, but I knew enough of the
spec to know that 'use strict' prohibited function declarations as
statements, and that let and const had attractive, sound
and intuitive semantics. I'm sorry if you feel that's an inappropriate
basis for a mailing list post, but I disagree.

Thanks

On Thursday, 14 May 2015, Kevin Smith <[email protected]> wrote:

>
> Good points. All the more reason to throw out declarations as statements
>> in favour of let/const/var, which we all have to understand well
>> anyway, for other types of variable.
>
>
> Declarations aren't going anywhere, and there is zero interest in
> "deprecating" them.  You might want to spend a bit more time learning the
> spec or lurking before making proposals.
>
> Hope that helps.
>
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to