File tree Expand file tree Collapse file tree 4 files changed +14
-30
lines changed
Expand file tree Collapse file tree 4 files changed +14
-30
lines changed Original file line number Diff line number Diff line change 1- # Exercise 2
2-
3-
4- :::{admonition} You can participate in two ways
5- - Either by discussing with others and writing your own thoughts via collaborative notes
6- - Or by coding
7- - Or a mix of the two that is most meaningful for you or your group
8- :::
9-
10-
11- ## Discussion track
12-
13- The topic of this discussion session is encapsulation.
14- Can you please comment on these recommendations in the collaborative notes and perhaps suggest
15- other recommendations which have helped in your work and others could find useful?
1+ # Encapsulation
162
173
184:::{discussion} Types of encapsulation
@@ -38,11 +24,3 @@ Let's say you want to move a code from one system to another. What are the thin
3824- Global data are often input parameters, configuration parameters, command-line arguments.
3925- But try to localize these to the "main" code/function.
4026:::
41-
42-
43-
44- ## Coding track
45-
46- Here you can continue either with some of the coding tasks from the first
47- exercise session or you can program something inspired by our live-coding
48- session.
Original file line number Diff line number Diff line change 1- # Exercise 1
1+ # Exercise
22
33
44:::{admonition} You can participate in two ways
Original file line number Diff line number Diff line change @@ -16,11 +16,10 @@ Image to get started:
1616:delim: ;
1717
181820 min ; {doc}` starting-point `
19- 20 min ; {doc}` exercise1 `
19+ 20 min ; {doc}` exercise `
202010 min ; Discussion
212110 min ; Break
22- 30 min ; Live-coding with suggestions via notes ({doc}` solution ` )
23- 20 min ; {doc}` exercise2 `
22+ 50 min ; Live-coding with suggestions via notes ({doc}` solution ` )
242310 min ; Break
252415 min ; Discussion
2625:::
@@ -31,8 +30,15 @@ Image to get started:
3130:caption: Episodes
3231
3332starting-point
34- exercise1
35- exercise2
33+ exercise
34+ :::
35+
36+
37+ :::{toctree}
38+ :maxdepth: 1
39+ :caption: Optional
40+
41+ encapsulation
3642:::
3743
3844
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ more modularity and re-usability.
6565:::{instructor-note}
6666Participants give suggestions and ask questions via collaborative document
6767and instructor(s) try to follow and answer. They can also roughly follow
68- the ideas and steps in the {ref} ` guide ` .
68+ the ideas and steps in the {doc} ` solution ` .
6969
7070It is OK and good if mistakes happen and it is fun if the instructor(s) can
7171convey a bit of "improv" feel to this lesson.
You can’t perform that action at this time.
0 commit comments