-
-
Notifications
You must be signed in to change notification settings - Fork 657
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
Format the output of code examples consistently across exercises/concepts #2202
Labels
x:action/improve
Improve existing functionality/content
x:knowledge/elementary
Little Exercism knowledge required
x:module/concept
Work on Concepts
x:module/concept-exercise
Work on Concept Exercises
x:module/practice-exercise
Work on Practice Exercises
x:size/small
Small amount of work
x:type/content
Work on content (e.g. exercises, concepts)
Comments
This was referenced Apr 25, 2022
eklatzer
added a commit
to eklatzer/exercism-go
that referenced
this issue
Jun 7, 2022
makon57
added a commit
to makon57/go
that referenced
this issue
Jun 22, 2022
Fixed exercism#2202 edited and added "=>" instead of "Output:" according to specifications in issue description Please enter the commit message for your changes. Lines starting
Ilingu
added a commit
to Ilingu/exercism-go-forked
that referenced
this issue
Jun 24, 2022
Ilingu
added a commit
to Ilingu/exercism-go-forked
that referenced
this issue
Jun 24, 2022
This was referenced Jun 26, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
x:action/improve
Improve existing functionality/content
x:knowledge/elementary
Little Exercism knowledge required
x:module/concept
Work on Concepts
x:module/concept-exercise
Work on Concept Exercises
x:module/practice-exercise
Work on Practice Exercises
x:size/small
Small amount of work
x:type/content
Work on content (e.g. exercises, concepts)
After some discussion in #2156, it was decided that to show the output of code examples, we must follow a standard format across exercises and concepts. The agreed format is to put the output of a piece of code as a comment after the code. The comment should start with an arrow
=>
. It looks like this:Examples that have some specific reason to include a print statement should have the following format:
Scope
The idea is to use this format across all exercises. Some exercises are not following this format right now, and we'll use this issue as a general tracking issue for PRs addressing this issue.
Contributing to this issue
If you'd like to contribute to this issue, feel free to open PRs. PRs addressing this issue for a single exercise or just a few exercises or concepts are welcome - you don't need to fix this across all instances before opening a PR.
Related PRs
The text was updated successfully, but these errors were encountered: