-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make code examples in /samples/language folder more user-friendly #1470
Labels
Comments
tcNickolas
added
enhancement
New feature or request
good first issue
Good for newcomers
samples
labels
May 3, 2024
Taking Array.qs for example:
|
Working on this |
github-merge-queue bot
pushed a commit
that referenced
this issue
May 10, 2024
#1470 --------- Co-authored-by: Joshua Aragon <jaragon32@microsoft.com> Co-authored-by: Manvi-Agrawal <40084144+Manvi-Agrawal@users.noreply.github.com>
github-merge-queue bot
pushed a commit
that referenced
this issue
May 21, 2024
Part of #1470 --------- Co-authored-by: Joshua Aragon <jaragon32@microsoft.com> Co-authored-by: Manvi-Agrawal <40084144+Manvi-Agrawal@users.noreply.github.com> Co-authored-by: Mariia Mykhailova <michaylova@gmail.com>
github-merge-queue bot
pushed a commit
that referenced
this issue
May 23, 2024
#1470 --------- Co-authored-by: Joshua Aragon <jaragon32@microsoft.com> Co-authored-by: Mariia Mykhailova <michaylova@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Is your feature request related to a problem? Please describe.
Currently the code samples in the /samples/language folder don't produce any output; they evaluate some expressions, but the results are only listed in the comments, not printed for the user to see. This makes any mistakes (such as #1467) hard to spot, and the experience of using them not intuitive.
Describe the solution you'd like
We can add some Message commands to print the results of expression evaluation instead of assigning them to variables in most cases (unless, of course, assigning a value to a variable is the point of the example). This will let user compare the results with what they should be easily.
The text was updated successfully, but these errors were encountered: