Commit 404f99d
committed
fix: remove access modifiers, use native #private fields
BREAKING CHANGE: Access modifiers exercise completely removed
- Delete 02.access-modifiers exercise entirely (public/private/protected
keywords removed from curriculum)
- Renumber exercises: interfaces-and-classes → 02, inheritance → 03,
polymorphism → 04, composition-vs-inheritance → 05
- Integrate #private fields (native JavaScript private) into 01.classes
exercise as the preferred encapsulation pattern
- Update all code examples to use #private instead of TypeScript private
- Update README and descriptions to reflect new structure1 parent e78f5ec commit 404f99d
File tree
72 files changed
+79
-361
lines changed- exercises
- 01.classes
- 02.problem.constructors
- 02.solution.constructors
- 02.access-modifiers
- 01.problem.public-private
- 01.solution.public-private
- 02.problem.protected
- 02.solution.protected
- 02.interfaces-and-classes
- 01.problem.implementing-interfaces
- 01.solution.implementing-interfaces
- 02.problem.programming-to-abstractions
- 02.solution.programming-to-abstractions
- 03.inheritance
- 01.problem.extends
- 01.solution.extends
- 02.problem.method-overriding
- 02.solution.method-overriding
- 04.polymorphism
- 01.problem.substitutability
- 01.solution.substitutability
- 05.composition-vs-inheritance
- 01.problem.when-to-use
- 01.solution.when-to-use
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
72 files changed
+79
-361
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
21 | 38 | | |
22 | 39 | | |
23 | | - | |
| 40 | + | |
24 | 41 | | |
25 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
26 | 49 | | |
27 | | - | |
| 50 | + | |
28 | 51 | | |
29 | 52 | | |
30 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
31 | 60 | | |
32 | 61 | | |
33 | | - | |
| 62 | + | |
34 | 63 | | |
35 | 64 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | | - | |
10 | | - | |
| 10 | + | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
| 14 | + | |
13 | 15 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
16 | 15 | | |
17 | 16 | | |
18 | | - | |
| 17 | + | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
22 | | - | |
| 21 | + | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
| |||
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
Lines changed: 0 additions & 25 deletions
This file was deleted.
Lines changed: 0 additions & 15 deletions
This file was deleted.
Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 0 additions & 32 deletions
This file was deleted.
Lines changed: 0 additions & 21 deletions
This file was deleted.
0 commit comments