Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why is it? Why is block scoping useful?


Because it's how almost every C-syntax-like language works. JavaScript is the odd one out.


I’d prefer to just embrace it. Keep the language small. Prototypical inheritance works just fine. There’s enough in The Good Parts to get all the work done.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: