Topics > 7. JavaScript: Functional Programming
Functional programming in JavaScript emphasizes the use of pure functions, immutability, and higher-order functions to create predictable and maintainable code. It encourages a declarative style of programming, where the logic of computation is expressed in terms of functions rather than mutable states. This paradigm helps reduce bugs and enhances code reusability.
Readings & Activities
Week | Slides / Activities | Readings | |
---|---|---|---|
Week 7 | Wed, 2/26 | Lecture 13 Higher Order Functions Activity 13 Lecture 13 files: forEach, map, filter, reduce | Required: |
Fri, 2/28 | Tutorial 6 JavaScript: Practice with higher-order iteration functions (due Mon, 3/3) |