Argue in favor of is over named
parent
33049f864c
commit
41b740c753
1 changed files with 4 additions and 1 deletions
|
|
@ -114,7 +114,10 @@ Angle a Sphere named b named r
|
|||
```
|
||||
|
||||
It seems like this should assign the identifier `r` to the angle between `a` and a new sphere with identifier `b`. Readability is very poor for both versions! Suggestions:
|
||||
|
||||
- If the language has both statements and expressions, `is` could be a statement, and thus syntactically inadmissible for nesting.
|
||||
- If the language is purely expression-based:
|
||||
- An `is` expression could return unit, making it semantically inadmissible for nesting.
|
||||
- An `is` expression could require punctuation for nesting.
|
||||
|
||||
The `is` option follows the strong tradition of putting identifiers on the left.
|
||||
Loading…
Add table
Add a link
Reference in a new issue