Hacker News new | ask | show | jobs
by melling 3321 days ago
I don't find it to be confusing but you'd get more autocomplete help if let was used for constants.

l => let

v => var

1 comments

Very good point. Fortunately, it's only one keystroke saved.
One keystroke, not two? I type l<tab> in Xcode then I'm typing in the variable name. You'll have to arrow down if it's the wrong one then hit return.

You can argue that it's really not much extra work but it all adds up. Especially when you try to code on a tablet, which I find myself doing occasionally.

It could be two if it inserted the space for you!