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

> The use of `let` to declare immutable values is well-established in programming languages.

Javascript, Swift, and VBA have let.

C, C++, Java, C#, PHP, Python, Go don't have it.

I'm also willing to bet that if you haven't studied math in English let is a non-obvious keyword.



As a 10 year old child in the early 80s:

    10 LET A$ = "Hello world"
    20 PRINT A$
    30 GOTO 10




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

Search: