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

Summary

This chapter is an application of all the notions learned in the previous chapters. While relatively small, starting its development by using the layout of a Python package allows us to easily extend it later (which will be done in the next chapters). Also, readability tips, such as using named tuples for items types and using parentheses in operator chains, make this code even easier to follow.

Cyclotron packages are very useful when it comes to structuring code in a functional and reactive way. They avoid writing observable connection boilerplate, and provide directions to write functional code. Cyclotron allows us to write the code logic of the application as pure functions, while keeping side-effects in dedicated locations called ...

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