←back to thread

498 points azhenley | 2 comments | | HN request time: 0.478s | source
Show context
Razengan ◴[] No.45770236[source]
If designing your hypothetical ideal language, what are some intuitive/cute keywords you would choose for mutables/immutables?

`let` is so 2020. `const` is too long. `static` makes me fall asleep at the keyboard. `con` sounds bad. How about

`law`?

    law pi = 3.142 (heh typing on Mac autocompleted this)

    law c = 29979245

    law law = "Dredd"
or `set` or `once` or `make`?
replies(4): >>45770286 #>>45771270 #>>45771607 #>>45779782 #
1. veltas ◴[] No.45771607[source]
What is wrong with let?
replies(1): >>45772132 #
2. Razengan ◴[] No.45772132[source]
Nothing, it's just been done, just trying to think of some better/newer ways to say it :)