Please help with a survey on syntax


#1

Here is a survey on syntax proposals for Rust. Please help by answering if you have the time. Please also do not spread the survey.

For those of you who know what the survey is about, also do not post what it is about as that would bias the sample.


#2

One bit of feedback, you may want to use higher resolution pictures. At least on my display the following picture looks like it says:

...
&& let A(x) - foo()
&& let B(y) - bar()
...

image

But I assume you meant = not -.


#3

This is alll true =) Google scaled down my images :frowning:


#4

Hi, I can’t and don’t and won’t have a google account, but this interests me a lot, so I would like to post my answer:

Using && for conjunction and EXPR is PATTERN

There is one problem here though, it looks like you compare apples and pears. I suppose the survey holds on the idea that all the examples do the same, but && can easily become ||, but what does the comma mean, AND or OR? What about bitwise operators?


#5

Indentation for local scope.