Comments (8)
Composing Functions
Function composition is the process of applying the function to the output of another function.
Working Memory
Signal Noise To Ratio
Concise code can improve the signal-to-noise ratio of your code.
Surface Area For Bugs
less code = less the surface area for bugs = fewer bugs
from blog.
Composing Object
There are primitives:
const firstName = "gold"
const lastName = "eli"
This is a composite:
const obj = {
firstName: "gold"
lastName: "eli"
}
from blog.
The Dao of immutability
Dao: Data Acess Object
Immutability
erase history
Separation
Flow
from blog.
The Rise And Fall And Rise Of The Functional Programming
The rise of functional programming
lisp
The fall of functional programming
java c++ 1980~2010
inheritance hierarchies
The rise of functional programming
Javascript explosion
The array functions were like rocket fuel for function programming explosion in Javascript.
from blog.
App ate the world, The browser ate the app, JavaScript ate the browser.
By multiple measure, Javascript is one of the most popular languages in the world.
from blog.
At any given moment, there are close to a hundred thousand job openings in the united states and hundreds of thousands job in more world-wide.
from blog.
Function
Functions may serve the following purpose:
- mapping
- Procederg
- I/O
Pure Function
- process the input return the output. Given the same input, will always return the same output.
- Produce no side effect
from blog.
We can grasp the meaning of functional programming:
- Pure Functions
- Function Composition
- Avoid shared state
- Avoid mutating state
- Avoid side effects
from blog.
Related Issues (20)
- web-api
- 浏览器相关
- 算法相关
- React HOT 37
- Code Snippet HOT 2
- Q&A HOT 1
- what is different between combination and permutation?
- meta 标签的理解
- 页面导入样式 Link 和 @import 的区别
- 圣杯,双飞翼布局
- 用递归算法实现,数组长度为5且元素的随机数在2-32间不重复的值 HOT 1
- House robber HOT 1
- 纯CSS实现三角形 HOT 1
- 《数学之美》 HOT 1
- 任务 vs 微任务
- ++i 与 i++ 的区别? HOT 1
- 《图解算法》 HOT 2
- this
- 原型和原型链
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blog.