- Mastering Immutable.js
- Adam Boduch
- 141字
- 2021-07-08 10:30:05
What are we comparing?
There's no point in comparing a library such as Immutable.js with something that has no notion of functional programming or immutability. For instance, Angular is a framework for building applications, and observing changes in state is a core pattern. This is something that Immutable.js doesn't do. Comparing Immutable.js with something such as React doesn't make much sense either. Despite the fact that React honors concepts such as avoiding side-effects, we wouldn't be comparing apples with apples, as they do different things at different levels of abstraction.
Some criteria that you would use to compare Immutable.js with other libraries include the following:
- Is it a low-level library?
- Does it support the notion of immutability?
- Does it have the concept of collections?
- How large is the API compared with that of Immutable.js?
- How efficiently can it handle immutable data?
推薦閱讀
- Go語(yǔ)言高效編程:原理、可觀測(cè)性與優(yōu)化
- C# 從入門到項(xiàng)目實(shí)踐(超值版)
- Python Deep Learning
- Practical Windows Forensics
- 前端架構(gòu):從入門到微前端
- 老“碼”識(shí)途
- 假如C語(yǔ)言是我發(fā)明的:講給孩子聽的大師編程課
- Python貝葉斯分析(第2版)
- Python完全自學(xué)教程
- Hands-On Automation Testing with Java for Beginners
- Integrating Facebook iOS SDK with Your Application
- Java Web應(yīng)用開發(fā)給力起飛
- Appcelerator Titanium:Patterns and Best Practices
- Hack與HHVM權(quán)威指南
- 數(shù)字媒體技術(shù)概論