2013年10月17日星期四

Why OOP and Recursion are Helpful!

OOP is short for object oriented programming. It is a kind of programming paradigm and a method of programming development.  An object is a software bundle of related state and behaviour. This programming language is useful because it uses object as a basic unit and encapsulates the data so that to improve the software more flexibility, scalability and reusability.

Recursion is a method to solve problem by breaking it into smaller subproblem until the problem is small enough to be solved easily. It is useful because it can let us write a much shorter and easier function instead of a long and difficult one when facing a complex problem. 

没有评论:

发表评论