Skip to content

Commit b0ab11c

Browse files
authored
Moving Dead Code prep and Clean Code workshop (#1701)
Moves Dead Code prep material earlier into ITP module 1 sprint 3. To reflect this learning, the clean code workshop of SDC Complexity module is being copied into the same ITP sprint. The dayplan for SDC Complexity Sprint 2 might need another look to replace the clean code workshop with something else. Or repeat it on purpose to see if understanding has evolved. All references to the clean code workshop have been changed to point to the [same content now in the workshop repo](https://github.com/CodeYourFuture/CYF-Workshops/tree/main/clean-code).
1 parent c1471f6 commit b0ab11c

7 files changed

Lines changed: 11 additions & 29 deletions

File tree

common-content/en/module/complexity/clean-code-workshop/index.md

Lines changed: 0 additions & 18 deletions
This file was deleted.

common-content/en/module/js3/dead-code/index.md renamed to common-content/en/module/js1/dead-code/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
+++
2-
title = 'Dead code'
2+
title = 'Dead Code'
33

44
time = 30
55
[objectives]
@@ -24,7 +24,7 @@ Clean code generally means code that is:
2424
- **Understandable for other programmers.**
2525
We achieve this through good variable naming, avoiding chaining too many methods in one line, good choice of syntax depending on the data type being used, etc.
2626
- **Avoids duplication**.
27-
Not repeating code where it could be a reusable function, making more efficient if/else statements, using loops where relevant, etc.
27+
Not repeating code where it could be a reusable function, making more efficient choices in our conditional logic, using loops where relevant, etc.
2828
- **Passes all tests** (if you have tests in the repository).
2929

3030
- And importantly, contains a **minimal amount of "moving parts"**.

org-cyf-itp/content/data-flows/sprints/3/prep/index.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ src="https://www.youtube.com/watch?v=J-0XkB54yp8"
1313
name="Latency"
1414
src="module/js3/latency"
1515
[[blocks]]
16-
name="Dead Code"
17-
src="module/js3/dead-code"
18-
[[blocks]]
1916
name="Synchronous execution"
2017
src="module/js3/synchronous-execution"
2118
[[blocks]]

org-cyf-itp/content/structuring-data/sprints/3/day-plan/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ time=65
1919
name="Morning break"
2020
src="blocks/morning-break"
2121
[[blocks]]
22-
name="Problem Solving Workshop"
23-
src="https://codewars-workshops.codeyourfuture.io/problem-03/"
22+
name = "Clean Code Workshop"
23+
src = "https://github.com/CodeYourFuture/CYF-Workshops/tree/main/clean-code"
2424
time=60
2525
[[blocks]]
2626
name="lunch"
@@ -29,7 +29,7 @@ src="blocks/lunch"
2929
name="Stand Up"
3030
src="blocks/standup"
3131
time=15
32-
[[blocks]]
32+
[[blocks]]
3333
name="Study Group"
3434
src="blocks/study-group"
3535
time=135

org-cyf-itp/content/structuring-data/sprints/3/prep/index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ name="First test case"
2828
src="module/js1/feedback"
2929
name="Interpreting feedback"
3030
[[blocks]]
31+
name="Dead Code"
32+
src="module/js1/dead-code"
33+
[[blocks]]
3134
src="module/js1/generalise"
3235
name="Generalising further"
3336
[[blocks]]

org-cyf-sdc/content/complexity/sprints/2/day-plan/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ time = "60"
1313
[[blocks]]
1414
name = "Morning break"
1515
src = "blocks/morning-break"
16-
[[blocks]]
16+
[[blocks]]
1717
name = "Clean Code Workshop"
18-
src = "module/complexity/clean-code-workshop"
18+
src = "https://github.com/CodeYourFuture/CYF-Workshops/tree/main/clean-code"
1919
time = "45"
2020
[[blocks]]
2121
name = "Study Group"

org-cyf/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ In this curriculum you'll find the content that we teach at CodeYourFuture. For
3838

3939
## Contributing
4040

41-
Please read CONTRIBUTING.MD
41+
Please read [CONTRIBUTING.md](../CONTRIBUTING.md)

0 commit comments

Comments
 (0)