5. Functional programming
Week 5 (September 25)Due: 2.1 Pipes lab
Introduction to functional programming. Streams, files, and pipes.
Week 5 Notes
- Wrapping up Unit 1: Problem Set and Drawing Project
- Compare and contrast a variable and a function
- a value is the thing and the name is what we call it.
- Name is a school lunch menu and each day food that are served differ. Pizza with some salad is value.
- Lambdas / mappings
- Literate programming
- Becca: Docstrings are an amazing feature in the coding process.
- Reflections on the terminal
- Seoyeon: Icons on the screen might be more intuitive and easier for the users without any experience of using terminal, but people who use terminal all the time might like to use terminal more?
- Learning more powerful constructs
- Lauren: In the Turtle lab, since I used a lot of repeated symmetry, this would have been simpler if I could define some functions
- Becca: I like the versitility of ranges
- Hacking the labs!
- Thinking about ranges
- Why doesn't range include the final number?
- One thing I am unsure about with ranges is if they are applicable in instances such as the drawing lab. If they are countihng numbers, can they be used to create physical representations of things?
- Frustration
- I am finding that the directions you have written are clear and very easy to follow. Then when it comes time to work through a checkpoint, I am struggling to apply the informaiton that was given to a task. It is like I know what it means when I read it, but then I get lost and cannot figure out how this information is applicable.
- Appreciating Discord
- Hopefully mwc submit issues are resolved.
- Own your learning process
- Compare and contrast a variable and a function
- Introduction to Unit 2
- New context: From drawing to argument.
- New paradigm: From imperative to functional.
- Phenomenological experieince: big(ger) data
- Structuring programs
- Structuring data
- Types
- Data structures
- Files, streams, pipes
- Pipes lab demo