官术网_书友最值得收藏!

Object-oriented versus functional paradigms 

With its roots in the mathematics discipline, the functional programming paradigm is simple. It works on the theory of functions which produce values that are immutable. Immutable values mean they can't be modified later on directly. In the functional paradigm, all computations are performed by calling self/other functions. Functions are first-class citizens in the functional world. This opens up a new world of possibilities where all computations are driven by a certain need.

The object-oriented planet revolves around encapsulation and abstractions. The logical grouping of components makes maintenance of larger and complex programs easier. Data and models are encapsulated in objects. Information hiding is effective for containing an object's properties. Inheritance hierarchies, the concept of classes, and messaging between objects makes the whole model/pattern of object-oriented programming a partial success.

主站蜘蛛池模板: 门源| 廉江市| 九台市| 北碚区| 监利县| 横峰县| 石门县| 华安县| 视频| 西乡县| 儋州市| 凌源市| 北海市| 深州市| 塘沽区| 邵武市| 饶平县| 邯郸市| 冷水江市| 射阳县| 罗江县| 大同市| 和田县| 获嘉县| 子长县| 磴口县| 桐乡市| 保亭| 冀州市| 阳谷县| 佛冈县| 陆河县| 邻水| 旬邑县| 石屏县| 奇台县| 海丰县| 红桥区| 雷山县| 陆河县| 屏南县|