Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
kanbankaren
6mo ago
0 comments
Save
Share
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).
0 comments
1 comments · 1 top-level
top
newest
oldest
otikik
6mo ago
“local” is the same as the “let” that you are describing, isn’t it? Just 2 chars longer.
j
/
k
navigate · click thread line to collapse