- Learning RxJava
- Thomas Nield
- 299字
- 2021-07-02 22:22:48
Why should I learn RxJava?
ReactiveX and RxJava paints a broad stroke against many problems programmers face daily, allowing you to express business logic and spend less time engineering code. Have you ever struggled with concurrency, event handling, obsolete data states, and exception recovery? What about making your code more maintainable, reusable, and evolvable so it can keep up with your business? It might be presumptuous to call reactive programming a silver bullet to these problems, but it certainly is a progressive leap in addressing them.
There is also growing user demand to make applications real time and responsive. Reactive programming allows you to quickly analyse and work with live data sources such as Twitter feeds or stock prices. It can also cancel and redirect work, scale with concurrency, and cope with rapidly emitting data. Composing events and data as streams that can be mixed, merged, filtered, split, and transformed opens up radically effective ways to compose and evolve code.
In summary, reactive programming makes many hard tasks easy, enabling you to add value in ways you might have thought impractical earlier. If you have a process written reactively and you discover that you need to run part of it on a different thread, you can implement this change in a matter of seconds. If you find network connectivity issues crashing your application intermittently, you can gracefully use reactive recovery strategies that wait and try again. If you need to inject an operation in the middle of your process, it is as simple as inserting a new operator. Reactive programming is broken up into modular chain links that can be added or removed, which can help overcome all the aforementioned problems quickly. In essence, RxJava allows applications to be tactical and evolvable while maintaining stability in production.
- Unreal Engine Physics Essentials
- Redis Applied Design Patterns
- TypeScript Blueprints
- 計(jì)算機(jī)圖形學(xué)編程(使用OpenGL和C++)(第2版)
- 動(dòng)手玩轉(zhuǎn)Scratch3.0編程:人工智能科創(chuàng)教育指南
- 基于差分進(jìn)化的優(yōu)化方法及應(yīng)用
- 批調(diào)度與網(wǎng)絡(luò)問(wèn)題的組合算法
- 青少年信息學(xué)競(jìng)賽
- Getting Started with Eclipse Juno
- Python項(xiàng)目實(shí)戰(zhàn)從入門(mén)到精通
- HTML+CSS+JavaScript編程入門(mén)指南(全2冊(cè))
- SignalR:Real-time Application Development(Second Edition)
- Python一行流:像專(zhuān)家一樣寫(xiě)代碼
- Python Digital Forensics Cookbook
- ArcPy and ArcGIS(Second Edition)