Y
Hacker News
new
|
ask
|
show
|
jobs
by
kanbankaren
173 days ago
yeah. I hate typing `local` for every variable. I would prefer they introduce some syntactic sugar like `let`(to mean local variable) and `const`(to mean local and constant).
1 comments
otikik
173 days ago
“local” is the same as the “let” that you are describing, isn’t it? Just 2 chars longer.
link