exercism / rust

Exercism exercises in Rust.
https://exercism.org/tracks/rust
MIT License
1.42k stars 519 forks source link

Implement new Concept Exercise: generic-types #1071

Closed workingjubilee closed 10 months ago

workingjubilee commented 4 years ago

This issue describes how to implement the generic-types 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

Often called simply "generics", or more explicitly generic type parameters, generics are important in writing clear and DRY code. The student has likely used a generic container by this point to solve one of the other exercises, and so should be introduced to them formally.

Learning objectives

Out of scope

Concepts

Prerequisites

This will require a conceptual understanding of

Resources to refer to

Hints

After

Representer

No changes required

Analyzer

No changes required

Implementing

See our implementation guide for guidance. In addition you may want to make use of the shell script while in the concept directory, with the argument of the exercise name, e.g. sh boil_exercise.sh generic-types

Help

If you have any questions while implementing the exercise, please post the questions as comments in this issue.

senekor commented 10 months ago

After several failed attempts to create a high-quality syllabus, I believe any future attempts will have to do their own design work from scratch.