forked from PovertyAction/research-data-science-training
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path15-coffee.qmd
More file actions
30 lines (23 loc) · 981 Bytes
/
15-coffee.qmd
File metadata and controls
30 lines (23 loc) · 981 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
title: "Afternoon Coffee"
abstract: |
This tutorial covers fundamental Python programming concepts.
date: last-modified
format:
html: default
# Authors
authors-ipa:
- "[Author Name](https://poverty-action.org/people/author_name)"
# Contributors
contributors:
- "[Contributor Name](https://poverty-action.org/people/contributor_name)"
keywords: ["Python", "Programming", "Tutorial", "Data Science", "Jupyter"]
license: "CC BY 4.0"
---
## Reflection exercise
Over break, reflect on and discuss the following:
- A common refrain in software engineering is "Don't Repeat Yourself". How do the techniques we've learned in the last
lessons help us avoid repeating ourselves? *Note that in practice there is some nuance to this and should be balanced
with doing the simplest thing that could possibly work.*
- What are the pros / cons of making a variable global or local to a function?
- When would you consider turning a block of code into a function definition?