Skip to content

Commit c8008f4

Browse files
committed
check every possibility is a more apt description of this approach
1 parent d37fe8e commit c8008f4

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

exercises/practice/raindrops/.approaches/config.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
"approaches": [
33
{
44
"uuid": "fbfbabb4-f4e6-4329-b2f5-a93e3199b809",
5-
"slug": "pattern-matching",
6-
"title": "Pattern Matching",
7-
"blurb": "",
5+
"slug": "check-every-possibility",
6+
"title": "Every Possibility",
7+
"blurb": "Check every possibility.",
88
"authors": [
99
"michalporeba"
1010
]
@@ -13,7 +13,7 @@
1313
"uuid": "925ccb59-3414-472b-9054-1cdfc5e44fad",
1414
"slug": "step-by-step",
1515
"title": "Step By Step",
16-
"blurb": "",
16+
"blurb": "Perform the checks one by one, step by step.",
1717
"authors": [
1818
"michalporeba"
1919
]

exercises/practice/raindrops/.approaches/introduction.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Introduction
22

3-
## Pattern matching
3+
## Check every possibility
44

5-
The output of the `convert` method depends on three conditions.
6-
We can be very explicit with the solution and match all the possible patterns.
5+
The output of the `convert` method depends on three conditions which can be either true or false.
6+
This gives only eight possibilities and we can check them all.
77

88
```elixir
99
def convert(number) do
@@ -20,7 +20,7 @@ def convert(number) do
2020
end
2121
```
2222

23-
We can use a few Elixir features to do more or less the same and we explore them in the [pattern matching approach][pattern-matching-approach].
23+
We can use a few Elixir features to do more or less the same and we explore them in the [check every possibility approach][check-every-possibility-approach].
2424

2525
## Step by step
2626

@@ -45,5 +45,5 @@ end
4545

4646
Let's have a look at a few variations of this [step by step approach][step-by-step-approach].
4747

48-
[pattern-matching-approach]: https://exercism.org/tracks/elixir/exercises/raindrops/approaches/pattern-matching
48+
[check-every-possibility-approach]: https://exercism.org/tracks/elixir/exercises/raindrops/approaches/check-every-possibility
4949
[step-by-step-approach]: https://exercism.org/tracks/elixir/exercises/raindrops/approaches/step-by-step

0 commit comments

Comments
 (0)