|
|
|
|
|
by skybrian
27 days ago
|
|
If you compare say, the Go language specification for an assignment statement [1] to Salt's explanation of its let statement, there is a big difference. Salt's docs lean heavily on "it works like you would expect from other languages" so you have to reason by analogy. A specification shouldn't work that way; it should actually explain the rules for each language construct, without assuming knowledge of other languages. [1] https://go.dev/ref/spec#Assignment_statements |
|