Skip to content

Commit ba162a5

Browse files
authored
Delete bonus point sections from descriptions (#2112)
The bonus points sections were a way of encouraging more discussion and exploration in v1. Discussion: Now that we have closed mentoring rather than open discussions it makes less sense to encourage discussion in this way. We may find other ways of encouraging discussions, but then it will be a product-level design choice rather than a textual call to action from within the exercise description. Exploration: We tend to want people to explore the approach to solving the problem rather than to explore how to expand the scope of the problem. As such I think it's worth deleting the exploration aspect of the bonus points sections. Also, there are only a handful of exercises that had this sort of section, so it's also neater in terms of consistency.
1 parent caf1432 commit ba162a5

File tree

7 files changed

+0
-72
lines changed

7 files changed

+0
-72
lines changed

exercises/beer-song/description.md

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -305,17 +305,3 @@ Take it down and pass it around, no more bottles of beer on the wall.
305305
No more bottles of beer on the wall, no more bottles of beer.
306306
Go to the store and buy some more, 99 bottles of beer on the wall.
307307
```
308-
309-
## For bonus points
310-
311-
Did you get the tests passing and the code clean? If you want to, these
312-
are some additional things you could try:
313-
314-
* Remove as much duplication as you possibly can.
315-
* Optimize for readability, even if it means introducing duplication.
316-
* If you've removed all the duplication, do you have a lot of
317-
conditionals? Try replacing the conditionals with polymorphism, if it
318-
applies in this language. How readable is it?
319-
320-
Then please share your thoughts in a comment on the submission. Did this
321-
experiment make the code better? Worse? Did you learn anything from it?

exercises/bottle-song/description.md

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -55,17 +55,3 @@ One green bottles hanging on the wall,
5555
And if one green bottle should accidentally fall,
5656
There'll be no green bottles hanging on the wall.
5757
```
58-
59-
## For bonus points
60-
61-
Did you get the tests passing and the code clean?
62-
If you want to, these are some additional things you could try:
63-
64-
* Remove as much duplication as you possibly can.
65-
* Optimize for readability, even if it means introducing duplication.
66-
* If you've removed all the duplication, do you have a lot of conditionals?
67-
Try replacing the conditionals with polymorphism, if it applies in this language.
68-
How readable is it?
69-
70-
Then please share your thoughts in a comment on the submission.
71-
Did this experiment make the code better? Worse? Did you learn anything from it?

exercises/grade-school/description.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,3 @@ do you want?) and each student cannot be added more than once to a grade or the
2626
roster.
2727
In fact, when a test attempts to add the same student more than once, your
2828
implementation should indicate that this is incorrect.
29-
30-
## For bonus points
31-
32-
Did you get the tests passing and the code clean? If you want to, these
33-
are some additional things you could try:
34-
35-
- If you're working in a language with mutable data structures and your
36-
implementation allows outside code to mutate the school's internal DB
37-
directly, see if you can prevent this. Feel free to introduce additional
38-
tests.
39-
40-
Then please share your thoughts in a comment on the submission. Did this
41-
experiment make the code better? Worse? Did you learn anything from it?

exercises/grains/description.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,3 @@ Write code that shows:
1515

1616
- how many grains were on a given square, and
1717
- the total number of grains on the chessboard
18-
19-
## For bonus points
20-
21-
Did you get the tests passing and the code clean? If you want to, these
22-
are some additional things you could try:
23-
24-
- Optimize for speed.
25-
- Optimize for readability.
26-
27-
Then please share your thoughts in a comment on the submission. Did this
28-
experiment make the code better? Worse? Did you learn anything from it?

exercises/isbn-verifier/description.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,3 @@ The program should be able to verify ISBN-10 both with and without separating da
3434

3535
Converting from strings to numbers can be tricky in certain languages.
3636
Now, it's even trickier since the check digit of an ISBN-10 may be 'X' (representing '10'). For instance `3-598-21507-X` is a valid ISBN-10.
37-
38-
## Bonus tasks
39-
40-
* Generate a valid ISBN-13 from the input ISBN-10 (and maybe verify it again with a derived verifier).
41-
42-
* Generate valid ISBN, maybe even from a given starting ISBN.

exercises/triangle/description.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,3 @@ a + c ≥ b
2525
```
2626

2727
See [Triangle Inequality](https://en.wikipedia.org/wiki/Triangle_inequality).
28-
29-
## Dig Deeper
30-
31-
The case where the sum of the lengths of two sides _equals_ that of the
32-
third is known as a _degenerate_ triangle - it has zero area and looks like
33-
a single line. Feel free to add your own code/tests to check for degenerate triangles.

exercises/wordy/description.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,3 @@ The parser should reject:
5858
* Unsupported operations ("What is 52 cubed?")
5959
* Non-math questions ("Who is the President of the United States")
6060
* Word problems with invalid syntax ("What is 1 plus plus 2?")
61-
62-
## Bonus — Exponentials
63-
64-
If you'd like, handle exponentials.
65-
66-
> What is 2 raised to the 5th power?
67-
68-
32

0 commit comments

Comments
 (0)