Declarative programming

In this section we will learn how to program without loops! We will adopt a functional-style which expresses intent in our programs rather than implementation detail, and get a taste for the benefits that this brings in terms of clarity and reuse. We will also find out we can deal with streams the same way we deal with arrays using these functional operators.

Mastering the “operator vocabulary” is essential to succeed in transitioning to a reactive programming approach, which relies on declarative coding style.



Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.