Hacker News new | ask | show | jobs
by wnevets 4010 days ago
2.2 seems completely arbitrary to me. If your functions are so big that you need block scope, you're doing it wrong IMO.
1 comments

How else would you use conditions or loops?
The style guide doesn't actually use block scope for if/loop.

Many items in the guide are...reasonable, but the explanations are gibberish or don't match the code.

the same way you would in es5?