For me, Object-Oriented Programming is a way of showing and naming classes as objects that can be assigned methods and instances; creating a structure for a program. By considering the aspects of this kind of programming as objects, I think it makes it a less abstract concept, and therefore easier to understand.
I would say recursion is the task of finding smaller, solvable problems, from a bigger problem and breaking it down to achieve the solution of such problem. Recursion allows us to make code simpler and more efficient although it is a more abstract way of solving a problem. I, personally, have trouble with some recursion as I sometimes find it hard to wrap my head around the task to be solved, but I know that recursion is an aspect that once it is understood, can be very useful for the efficiency of a program.
No comments:
Post a Comment