This is an example of Functional Programming Paradigm with separation of Concerns in display!
Imagine you run a local restaurant and want to create an application where users can order food directly from your app. The application should display the menu options and prices to the user. The user should also be able to add and remove items to their cart and update item quantities.