> Radosław
Hi. I found Stephen Celis proposed exactly same notations in the
thread "Mutability inference". I guess it is what you talked about.
> let a: String = "string"
> b: String = "string" // short-hand avoids let
> b := "string" // shorter-hand
But it seems that it was not well discussed,
Did you mean the thread "Mutability inference"? What I talked about is
different from it. I am against the idea of "Mutability inference".
What I talked about is just enabling to omit `let` for constant
declarations. It distinguishes the following three explicitly.
> - assignment
> - declaration
I can’t easily find it, but there’s been at least one thread proposing this
exact thing, and there was very little interest in the proposal.
TL;DR is that Swift *by design* wants to make the difference between these
three concepts:
- assignment
- declaration of a constant
- declaration of a