Skip to content

Commit 42c121b

Browse files
committed
asynch
1 parent 2b82776 commit 42c121b

File tree

8 files changed

+201
-0
lines changed

8 files changed

+201
-0
lines changed

_practice/2023-03-28.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
1. Describe a type of project where it would be worth it for you to learn a language you have never used before in {index}`newlanguage.md` This should be based in what types of features for the language your project would require and/or what would contribute to the long term health of the project.
2+
1. Try out/learn about one of the following languages that you have not used before, do something small that is typical of that language (eg a toy data analysis in R): [R](https://www.r-project.org/), [Julia](https://julialang.org/), [Clojure](https://clojure.org/guides/getting_started), [Stan](https://mc-stan.org/), [Go](https://go.dev/). Try to use official documentation only to figure out a toy task to do. Answer the following questions in {index}`languagelearning.md`:
3+
4+
```
5+
1. What is this language designed for?
6+
1. What Programming paradigm(s) does it support?
7+
1. What language would make it easy to learn this language? Why?
8+
1. What language would make it hard for someone to learn this language? Why?
9+
1. What is its most unique feature(s)?
10+
1. Include your small code bit (with comments!)
11+
1. How was it trying to figure out this langauge
12+
```

_prepare/2023-03-28.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1. See prep from 2023-03-23. No additional prep.

_review/2023-03-28.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1. For 2 languages from the loved vs dreaded list (one top 5; one bottom 5) read 2-3 posts about why people love/hate that language and summarize the key points on each side (meaning pros and cons for both loved and dreaded languges). Include links to all of the posts you read in a section titled `## Sources` in your markdown file. Make a bulleted list with some notes about the author's background and any limitations that might put on the scope of their opinions. (for example, a data scientists's opinion on languages is very valuable for data science, but less for app development) Add this to your kwl repo in `language_love_dread.md`.

_toc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ parts:
3030
- file: notes/2023-03-09
3131
- file: notes/2023-03-21
3232
- file: notes/2023-03-23
33+
- file: notes/2023-03-28
3334
- caption: Activities
3435
chapters:
3536
- file: activities/kwl

activities/practice.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,4 +123,11 @@ Activities:
123123

124124
Activities:
125125
```{include} ../_practice/2023-03-23.md
126+
```
127+
## 2023-03-28
128+
129+
[related notes](../notes/2023-03-28)
130+
131+
Activities:
132+
```{include} ../_practice/2023-03-28.md
126133
```

activities/prepare.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,4 +126,11 @@ Activities:
126126

127127
Activities:
128128
```{include} ../_prepare/2023-03-23.md
129+
```
130+
## 2023-03-28
131+
132+
[related notes](../notes/2023-03-28)
133+
134+
Activities:
135+
```{include} ../_prepare/2023-03-28.md
129136
```

activities/review.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,4 +138,11 @@ Activities:
138138

139139
Activities:
140140
```{include} ../_review/2023-03-23.md
141+
```
142+
## 2023-03-28
143+
144+
[related notes](../notes/2023-03-28)
145+
146+
Activities:
147+
```{include} ../_review/2023-03-28.md
141148
```

notes/2023-03-28.md

Lines changed: 165 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,165 @@
1+
2+
# Programming Languages
3+
4+
+++
5+
6+
Today we'll explore how programming languages are cateogrized. Along the way, this will expose what core, generic features of a programming language are.
7+
8+
+++
9+
10+
The key takeaway that I want for your is to have intution for how to choose a language for a project, not only your favorite, but what is the best for different types of projects.
11+
12+
+++
13+
14+
```{tip}
15+
You should do *either* the `in groups` or the `on your own` sections below for the x.x.x. For the x.x sections do all of them.
16+
```
17+
18+
```{important}
19+
Use the makeup workflow with an [ISO formated date](https://www.iso.org/iso-8601-date-and-time-format.html) (YYYY-MM-DD)).
20+
```
21+
+++
22+
23+
24+
## Comparing languages you know
25+
26+
Tak a few minutes on your own to fill in the follwing table for two languages of your own. Replace the `<langugage>` with two languages that you are familiar with. Add two additional rows. You can do this by memory, or by looking up/discussing. If you look things up, be sure to use reputable sources and include links to them.
27+
28+
```
29+
| feature | <language> | <language></language> |
30+
| ++++++-- | ++++++-- | ++++++-- |
31+
| use of whitespace | Text | Text |
32+
| list/array types | | |
33+
| variable typing | | |
34+
| memory usage | | |
35+
```
36+
37+
### In groups
38+
39+
+++
40+
````{margin}
41+
```{hint}
42+
Use a [cryptad "code" file](https://cryptpad.fr/) or similar to collaborate live on a markdown file (one person can create and then share the url, no one will need an account). You could add the tables all to the one file so that you can all see one another's tables
43+
```
44+
````
45+
Share your table with some classmates and then discuss how they are similar and different.
46+
47+
+++
48+
49+
Together, produce a list of questions for what other things you would want to know about how programming languages compare. All of you should include the collaboratively developed list in your experience report.
50+
51+
52+
+++
53+
54+
55+
### On your own
56+
57+
+++
58+
59+
Post your table and a question about how you might compare programming languages on [GitHub](https://github.com/introcompsys/sp23community/discussions/6). Reply to at least two peers offering either advice or asking additional questions.
60+
61+
+++
62+
63+
64+
+++
65+
66+
67+
## Learn more
68+
69+
+++
70+
71+
- What is the study of programming languages? [intro to PL](https://www3.cs.stonybrook.edu/~pfodor/courses/CSE260/_L01_Introduction_Programming_Languages.pdf)
72+
73+
74+
### In groups
75+
76+
Discuss the reading, in particular:
77+
- what you found most interesting
78+
- was anything new to you?
79+
- what do you want to remember most or learn more about?
80+
81+
In your experience report make a few notes (all can be the same notes// one person could write and share) about if you all agreed or each had different key points from the reading.
82+
83+
84+
### On your own
85+
86+
After reading this and your classmates' posts, add notes on broader patterns below your table in your experience report.
87+
88+
+++
89+
90+
91+
## PL in Developer Survey
92+
93+
+++
94+
95+
Read Carefully the [developer survey// languages section](https://insights.stackoverflow.com/survey)
96+
for 2022. (the 2023 survey has not occurred yet)
97+
98+
+++
99+
100+
101+
Do additional reading about the languages from their official references if needed to answer the following questions.
102+
103+
+++
104+
105+
### With classmates
106+
107+
+++
108+
109+
110+
Discuss the findings to answer the following questions. This discussion should be at least 10-15 minutes including looking up information about different languages. As a group, you may divide and conquer this research.
111+
- what is surprising?
112+
- what did you expect?
113+
- what do the popular languages have in common?
114+
- what do the dreaded languages have in common?
115+
- How are popular vs dreaded languages different? What features might be the cause for making a language dreaded?
116+
- How to used languages differ from less commonly used languages? What features might be the cause for making a languge popular?
117+
- How have things changed since 2011?
118+
119+
+++
120+
121+
Include (shared) notes from the discussion in your experience report.
122+
Reflect (individually) on a few key points (2-3 bullet points) from the discussion in your experience report for today. Include the names of your group mates that you discussed with.
123+
124+
125+
126+
127+
### On your own
128+
129+
+++
130+
131+
Include answers to the following questions in your experience report for today.
132+
- what is surprising?
133+
- what did you expect?
134+
- what do the popular languages have in common?
135+
- what do the dreaded languages have in common?
136+
- How are popular vs dreaded languages different? What features might be the cause for making a language dreaded?
137+
- How to used languages differ from less commonly used languages? What features might be the cause for making a languge popular?
138+
- How have things changed since 2011?
139+
140+
## Review today's class
141+
142+
```{include} ../_review/2023-03-28.md
143+
```
144+
145+
146+
147+
## Prepare for Next Class
148+
149+
```{include} ../_prepare/2023-03-28.md
150+
```
151+
152+
153+
154+
## More Practice
155+
156+
```{include} ../_practice/2023-03-28.md
157+
```
158+
159+
160+
161+
## Experience Report Evidence
162+
163+
Answers to questions
164+
165+
## Questions After Today's Class

0 commit comments

Comments
 (0)