Due: Reading and initial posting due on Canvas on Monday, September 28.
For this week, we’ll learn more about how JavaScript provides support for functional programming, and we’ll see how functional programming is used to implement many things that are built in to other languages.
The required readings are Chapter 4 of JavaScript the Good Parts and Chapters 5 and 10 of Eloquent JavaScript. (you can stop reading Chapter 10 about half-way, when you get to “evaluating data as code” – although you should probably read the whole chapter at some point since the second half of the chapter is really useful).
For the discussion… Consider how JavaScript uses functional programming to support a wide range of programming constructs. What kinds of things can you do with it? What pros and cons do you see in this approach? What cool things can you do with JavaScript functions that you can’t in C++ or Java?
Important links:
- Eloquent JavaScript Chapter 5, Chapter 10
- JavaScript the good parts. Chapter 4, whole book is available online via the library
- Reading discussion (required) for Reading 3 on Canvas
- Canvas discussion for recommended resources (to give any other things you’ve found)