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

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.

主站蜘蛛池模板: 高要市| 读书| 穆棱市| 广河县| 湾仔区| 巫溪县| 三明市| 白玉县| 汪清县| 信阳市| 谷城县| 周至县| 大足县| 浮山县| 丽水市| 伊川县| 六枝特区| 怀安县| 会同县| 宁南县| 前郭尔| 阿城市| 富裕县| 高平市| 屯留县| 庐江县| 杭锦旗| 界首市| 榆中县| 台山市| 磐安县| 新疆| 石城县| 兴宁市| 武平县| 和静县| 枝江市| 交口县| 平乐县| 鞍山市| 内丘县|