Improve Concept Exercise: Savings-Account (Constants) #2226
Labels
x:action/create
Work on something from scratch
x:knowledge/intermediate
Quite a bit of Exercism knowledge required
x:module/concept
Work on Concepts
x:module/concept-exercise
Work on Concept Exercises
x:rep/large
Large amount of reputation
x:size/large
Large amount of work
x:type/content
Work on content (e.g. exercises, concepts)
Getting Started
If you have not yet contributed to concept exercises before, this task requires some upfront reading to acquire the necessary background knowledge.
Here you can read about what Concept Exercises are and how they are structured:
Also, be aware of these general guidelines:
Goal
There is an existing concept
constants
and an existing concept exercisesavings-account
to teach that concept. It currently has the statuswip
so it is not available to students on the website. The goal is to improve (and if necessary extend) this existing exercise so it can go live on the website. See also #1583. It is probably a bit hard to make an engaging exercise about constants but we should try.So the main objectives in this issue are
If someone wants to work on this but feels the current story/exercise is hard to fix, feel free to change it completely if you have a better idea. The folder/exercise name can be changed to whatever we want. As long as we keep the same UUID in the config, that does not cause any issue (we did it for other exercises in the past already).
Learning Objectives
The following topics should be covered by the concept and then be practiced in the exercise.
Re constants in general:
Re enums:
iota
as a helpful way to give values for the constants easily.Sidenote: The instructions.md file of the exercise and the concept can have the same content. Also the about.md of the concept does not need have much additional content compared to the instructions.md file at this point.
Prerequisites
type-definitions
These prerequisites should be listed in the root level
config.json
entry for the exercise.The prerequisites above are a baseline of the prerequisites that might be needed for the exercise.
When implementing the exercise, feel free to add more prerequisites if the exercise needs them.
Resources
Some links that might be helpful as a starting point and/or for the links section of the concept:
How to proceed
The text was updated successfully, but these errors were encountered: