Are you an EPFL student looking for a semester project?
Work with us on data science and visualisation projects, and deploy your project as an app on top of Graph Search.
This lecture covers the concept of decomposition in programming, focusing on writing an interpreter for arithmetic expressions using class hierarchies. It discusses the evaluation of expressions, challenges with classification and accessor functions, adding new forms of expressions, and the drawbacks of using type tests and casts. The instructor presents an object-oriented decomposition solution, highlighting the trade-offs between encapsulation and complexity.