- Learning Scala Programming
- Vikash Sharma
- 135字
- 2021-06-30 19:07:45
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.
- Web程序設(shè)計(jì)及應(yīng)用
- 小創(chuàng)客玩轉(zhuǎn)圖形化編程
- 程序員數(shù)學(xué):用Python學(xué)透線性代數(shù)和微積分
- Securing WebLogic Server 12c
- Apache Mahout Clustering Designs
- Working with Odoo
- 從Java到Web程序設(shè)計(jì)教程
- 機(jī)器學(xué)習(xí)與R語言實(shí)戰(zhàn)
- PySide 6/PyQt 6快速開發(fā)與實(shí)戰(zhàn)
- Access 2010中文版項(xiàng)目教程
- Clojure for Machine Learning
- Java EE企業(yè)級應(yīng)用開發(fā)教程(Spring+Spring MVC+MyBatis)
- GitHub入門與實(shí)踐
- 深入分析GCC
- C# 7.1 and .NET Core 2.0:Modern Cross-Platform Development(Third Edition)