Skip to Content
Hands-On Reactive Programming with Python
book

Hands-On Reactive Programming with Python

by Romain Picard
October 2018
Intermediate to advanced
420 pages
10h 26m
English
Packt Publishing
Content preview from Hands-On Reactive Programming with Python

A Checklist of Best Practices

To conclude this journey in functional and reactive programming, this last chapter contains some advice on how to use ReactiveX more efficiently, or avoid some issues. The first part helps you choose the operator adapted to each use case. The second part is a reminder of the reason why side-effects should contain as little code as possible. The third part indicates how to deal with situations where nothing happens. Finally, the last part contains recommendations, based on the way ReactiveX observables and observers are specified.

The following topics will be covered in this chapter:

  • The observable creation decision tree
  • Keep side-effects as small as possible
  • What to do when nothing happens
  • Miscellaneous recommendations ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Python Programming with Design Patterns

Python Programming with Design Patterns

James W. Cooper

Publisher Resources

ISBN: 9781789138726Supplemental Content