Complete this discussion by following the instructions in MIS for Life under Learn it from Module 2 in MindTap.Â
From the book: MIS for Life: Module 2 Alternatives to OOP
The Object-Oriented Programming (OOP) paradigm is as much of a way looking at a problem as it is constructing a solution. In much of your coursework, OOP will likely be the primary way to view software and even systems. This is quite rational since it is reflective of the way we often perceive things. To be “object oriented” is, as it says, to have a tendency of seeing the world as objects. The objects have characteristics (attributes) and actions (methods). With that perspective, the notion of an action performed without an object seems odd or even invalid. This has been described as a kingdom of nouns where the verbs are second class citizens. But what if the kingdom had primarily verbs as citizens? Is that even possible? Yes, and the kingdom is called Functional Programming (FP). The aim of this activity is not to cement the idea that OOP is superior or even to rationalize why FP is better. The aim is solely to introduce a different way of solving problems with software. Why? The more ways we have to solve a problem, the better the solution will often be!
Read the following articles: https://medium.com/@Jacob_Bell/alternatives-to-object-oriented-programming-13b28a12492 and https://www.guru99.com/functional-programming-tutorial.html
In your own words, describe both an advantage and disadvantage of FP and OOP. Note that these descriptions have to include the reason you believe why the attribute is an advantage or a disadvantage. Recognize that it is acceptable to take a contrarian view to the referenced articles. For example, is immutability good or bad? Yes, it can be both, but to describe why, requires understanding the term and the application in which it is applied. Be sure to include these aspects in your writing.