Reduction of the number of object/class definitions

Using first-class and higher-order functions/methods makes it possible to avoid cluttering the OOP architecture with new classes/objects.

Get Swift Functional Programming - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.