Skip to content

Commit

Permalink
Number sections
Browse files Browse the repository at this point in the history
  • Loading branch information
richelbilderbeek committed Oct 10, 2023
1 parent 421cafa commit a708077
Showing 1 changed file with 11 additions and 18 deletions.
29 changes: 11 additions & 18 deletions lesson_plans/day_3.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ csl: vancouver.csl
jupyter: python3
css: styles.css
slide-number: true
number-sections: true
---

# 1. Big Picture
# Big Picture

## Breaks

Expand Down Expand Up @@ -38,9 +39,7 @@ What is mastery in programming?
To be able to express your ideas in correct and readable code
in an elegant way.

# 2. Express your assumptions in code

Express your assumptions in code
# Express your assumptions in code

## Problem

Expand Down Expand Up @@ -122,7 +121,7 @@ Use assert extensively @sutter2004cpp@stroustrup2013cpp@mcconnell2004code

:woman_technologist: Write down in the HackMD! :man_technologist:

# 3. Express yourself in readable code
# Express yourself in readable code

## Problem

Expand Down Expand Up @@ -215,9 +214,7 @@ Your boss will rarely care about the body of your functions.

:woman_technologist: Write down in the HackMD! :man_technologist:

# 4. Making your code readable

Making your code readable
# Making your code readable

## Function name

Expand Down Expand Up @@ -445,9 +442,7 @@ assert calculate_mean([1, 3, 5]) == 3

:woman_technologist: Write down in the HackMD! :man_technologist:

# 5. Do work in the right order

Do work in the right order
# Do work in the right order

## We were all kids once

Expand Down Expand Up @@ -683,7 +678,7 @@ assert split_str("A, B ") == ["A", "B"]

:woman_technologist: Write down in the HackMD! :man_technologist:

# 6. Make your function usable by others
# Make your function usable by others

## Adding documentation

Expand All @@ -708,7 +703,7 @@ def split_str(x):

* More on this tomorrow

# 7. Writing the function body
# Writing the function body

## Question

Expand Down Expand Up @@ -737,7 +732,7 @@ Do
* `Day 3` -> `Exercise 1 - functions`
* `Day 3` -> `PyQuiz 3.2`

# 8. Expressing a set
# Expressing a set

## Question

Expand Down Expand Up @@ -816,9 +811,7 @@ Classes ...

:woman_technologist: Write down in the HackMD! :man_technologist:

# 9. Expressing a dictionary

Expressing a dictionary
# Expressing a dictionary

## Trick question

Expand Down Expand Up @@ -872,7 +865,7 @@ Do
* `Day 3` -> `IMDb exercise - Day 3`
* `Day 3` -> `PyQuiz 3.1`

# 10. Using system arguments
# Using system arguments

## Problem

Expand Down

0 comments on commit a708077

Please sign in to comment.