Browse Source

Add policy for 'final' classes

Frida Johanne Tveit 9 years ago
parent
commit
f06acc98f3
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      POLICIES.md

+ 4
- 0
POLICIES.md View File

@@ -42,6 +42,10 @@ References: [[1](https://github.com/exercism/xjava/issues/177#issuecomment-26129
42 42
 
43 43
 References: [[1](https://github.com/exercism/xjava/issues/178)]
44 44
 
45
+### Do not make user-facing classes `final`
46
+
47
+> Starter implementations and test classes should not include the `final` keyword in class declarations as it isn't strictly necessary and could be confusing to people unfamiliar with Java.
48
+
45 49
 ### Ignore noninitial tests
46 50
 
47 51
 > All but the first test in an exercise test suite should be annotated `@Ignore("Remove to run test")` (single test) or `@Ignore("Remove to run tests")` (parametrized test).