The modules described in this chapter provide functions and classes that support a functional programming style, and general operations on callables.
Les modules décrits dans ce chapitre fournissent des fonctions et des classes permettant d'adopter un style fonctionnel, ainsi que des manipulations sur des appelables.
Simply because, the more I programmed with zsh the more I tended to work using functional programming style.
But in a functional programming style, the program logic is found in the definition of its functions.
We'll begin by discussing functional programming styles, how we use functional programming today in Groovy, and how the constructs of Java 8 offer a better functional programming style.
Nous commencerons par parler des styles de programmation fonctionnelle, de la manière dont nous utilisons celle-ci en Groovy et de comment les structures de Java 8 proposent un meilleur style de programmation fonctionnelle.
4.5 Nested Functions The functional programming style encourages the construction of many small helper functions.
But in a functional programming style, the program logic is found in the definition of its functions.
Or, dans un style de programmation fonctionnelle, la logique du programme se retrouve dans les définitions des diverses fonctions le composant.