Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
fouric
on May 7, 2021
|
parent
|
context
|
favorite
| on:
WinBox: Window manager in a web browser
No, quite the opposite - `let` should be used by default (due to better scoping rules (block rather than function) for most cases) and `var` only used when necessary.
bstar77
on May 7, 2021
[–]
IMO, `const` should be used by default, `let` in rare instances and `var` never.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: