You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 69e8ba1
Browse filesBrowse the repository at this point in the historyBrowse files
Add hints to exercises without starter implementation (exercism#1084)
* Add hints to exercises without starter implementation
As exercises with difficulty 5 are the first exercises without starter
implementation, they should have a hints file explaining how to fix the
compiler errors that occur when an exercise doesn't have any starter
implementation.
This should be detailed in the policies doc.
* flatten-array: regenerate README
Also update description for how to generate readme as it was lacking
detail.
Copy file name to clipboardExpand all lines: POLICIES.md
+13-1Lines changed: 13 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ Our policies are not set-in-stone. They represent directions chosen at a point i
17
17
18
18
| Track Event | Policies to review |
19
19
|:------------|:-----------------|
20
-
| Exercise added/updated | [Prefer instance methods](#prefer-instance-methods); [Avoid using final](#avoid-using-final); [Adhere to best practices](#adhere-to-best-practices); [Starter implementations](#starter-implementations); [Ignore noninitial tests](#ignore-noninitial-tests); [Multiple file submissions](#multiple-file-submissions); [Name test class after class under test](#name-test-class-after-class-under-test)
20
+
| Exercise added/updated | [Prefer instance methods](#prefer-instance-methods); [Avoid using final](#avoid-using-final); [Adhere to best practices](#adhere-to-best-practices); [Starter implementations](#starter-implementations); [Ignore noninitial tests](#ignore-noninitial-tests); [Multiple file submissions](#multiple-file-submissions); [Name test class after class under test](#name-test-class-after-class-under-test); [Add hint for the first exercises without starter implementation](#add-hint-for-the-first-exercises-without-starter-implementation)
> The exception to this is if the tests are split into several test classes where each test class tests different functionality. In that case each class should be named `SomeClassNameFunctionalityTest` where `Functionality` is the name of the functionality to be tested in that class. See the [clock exercise](https://github.com/exercism/java/tree/master/exercises/clock) as an example.
### Add hint for the first exercises without starter implementation
84
+
85
+
> According to the starter implementation policy, any exercise with difficulty 4 or lower should have starter implementation.
86
+
> Any exercise with difficulty 5 or above will have no starter implementation (unless its signature is very complicated).
87
+
> This could be confusing to users when tackling their first exercise with difficulty 5 when they are used to starter implementation being provided.
88
+
89
+
> Therefore a hints.md file should be added to the .meta directory for every exercise with difficulty 5.
90
+
> This file should explain what they need to do when there is no starter implementation.
91
+
> The files should all be the same so you can copy it from any other exercise with difficulty 5, e.g. [flatten-array](https://github.com/exercism/java/tree/master/exercises/flatten-array/.meta/hints.md).
92
+
93
+
> We add the file to every exercise with difficulty 5 because the structure of the track means that we don't know which exercise will be the first one without starter implementation that a user will be faced with.
0 commit comments