Closed ghost closed 2 years ago
@efx I've added the "Getting started" section (see this example) to the issue.
In a few minutes, I'll also be automatically adding the video reference (see exercism/v3#1227).
thanks @ErikSchierboom . I will make those updates to this issue later today.
Could it be that the health-statistics exercise is already covering this concept? Shall we link it with the methods concept?
I think @haraldreingruber's suggestion is valid since health-statistics
seems like a perfect concept exercise for methods
. My question is if we should write up the methods concept here?
@coriolinus I'll have to read up on how to create a concept directory and link an exercise to it but happy to claim this issue if no one has done/is doing work on it yet.
I wish that the structs concept required students to write at least one new struct on their own, and the methods concept required students to write at least one new method on their own. However, we can't let the perfect be the enemy of the good. It is more important to cover more concepts than to ensure that every concept exercise is flawless. I'll support adding methods
to the concepts list for health-statistics
.
Go ahead and claim the issue; I'm not aware of any competing work on it. Thanks for working on this!
@coriolinus Can you assign it to me? Can't really claim on issues :)
@coriolinus Just double-checking again that this is the link I need to create a new concept dir right? https://exercism.org/docs/building/tracks/concepts Thanks again :)
Yes, that's the correct documentation.
This issue describes how to implement the
methods
concept exercise for the Rust track.Getting started
Please please please read the docs before starting. Posting PRs without reading these docs will be a lot more frustrating for you during the review cycle, and exhaust Exercism's maintainers' time. So, before diving into the implementation, please read up on the following documents:
Please also watch the following video:
Goal
The goal of this exercise is to teach the student how to use methods in Rust.
Learning objectives
impl
keyword means&self
&mut self
Out of scope
Concepts
Prerequisites
Resources to refer to
Hints
After
Representer
No changes required
Analyzer
No changes required
Implementing
See our implementation guide for guidance. You may want to make use of
boil_exercise.sh
in theconcept
directory.Help
If you have any questions while implementing the exercise, please post the questions as comments in this issue.