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
Copy file name to clipboardExpand all lines: module4/post_work.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -8,9 +8,9 @@ ___
8
8
9
9
You can work in groups or individually. Fork the Cars repo and submit a Pull Request after you have finished.
10
10
11
-
1.<!-- .element: class="fragment fade-in" --> Create <code>InvalidGear</code> exception. It should be thrown when someone tries eg. change a gear from 5 to R. It should inherit from one of STL exceptions
12
-
2.<!-- .element: class="fragment fade-in" --> Fix interfaces to be easy to use correctly and hard to use incorrectly (like <code>accelerate(-999)</code>)
13
-
3.<!-- .element: class="fragment fade-in" --> (Optional) Write a proper unit tests to this code
11
+
1.<!-- .element: class="fragment fade-in" -->(4 XP) Create <code>InvalidGear</code> exception. It should be thrown when someone tries eg. change a gear from 5 to R. It should inherit from one of STL exceptions
12
+
2.<!-- .element: class="fragment fade-in" -->(2 XP per fix) Fix interfaces to be easy to use correctly and hard to use incorrectly (like <code>accelerate(-999)</code>)
13
+
3.<!-- .element: class="fragment fade-in" --> (10 XP - optional) Write a proper unit tests to this code
14
14
4.<!-- .element: class="fragment fade-in" --> Read one of below articles. It will be useful for the next lesson
15
15
16
16
*<!-- .element: class="fragment fade-in" --> <ahref="https://www.samouczekprogramisty.pl/solid-czyli-dobre-praktyki-w-programowaniu-obiektowym/">SOLID czyli dobre praktyki w programowaniu obiektowym</a> (in Polish)
0 commit comments