Programmation Fonctionnelle en JS

Coment rendre son code fiable et maintenable en JavaScript

Programmation Fonctionnelle en JS

À propos de moi

Programmation Fonctionnelle en JS

À propos de moi

  • Développeur Web
  • Étudiant en 5IW
  • Responsable Laboratoire JavaScript
  • Moto
  • Streamer Twitch (quand j'ai le temps)

Programmation Fonctionnelle en JS

Immutabilité

Programmation Fonctionnelle en JS

Immutabilité

Programmation Fonctionnelle en JS

Immutabilité

Programmation Fonctionnelle en JS

Immutabilité

Programmation Fonctionnelle en JS

Pureté

Programmation Fonctionnelle en JS

Pureté

Programmation Fonctionnelle en JS

Pureté

Programmation Fonctionnelle en JS

Pureté

Programmation Fonctionnelle en JS

Pureté

Programmation Fonctionnelle en JS

Récursion

Programmation Fonctionnelle en JS

Récursion

Programmation Fonctionnelle en JS

Récursion

Programmation Fonctionnelle en JS

Mémoisation

Programmation Fonctionnelle en JS

Mémoisation

Programmation Fonctionnelle en JS

Mémoisation

Programmation Fonctionnelle en JS

Mémoisation

Programmation Fonctionnelle en JS

Mémoisation

https://web.dev/bfcache/

Programmation Fonctionnelle en JS

Map, filter, reduce

Programmation Fonctionnelle en JS

Map, filter, reduce

Programmation Fonctionnelle en JS

Map, filter, reduce

Programmation Fonctionnelle en JS

Map, filter, reduce

Programmation Fonctionnelle en JS

Map, filter, reduce

Programmation Fonctionnelle en JS

Map, filter, reduce

Programmation Fonctionnelle en JS

Map, filter, reduce

Programmation Fonctionnelle en JS

Fonctions d'ordre supérieur

Programmation Fonctionnelle en JS

Fonctions d'ordre supérieur

Programmation Fonctionnelle en JS

Fonctions d'ordre supérieur

Programmation Fonctionnelle en JS

Application partielle

Programmation Fonctionnelle en JS

Application partielle

Programmation Fonctionnelle en JS

Application partielle

Programmation Fonctionnelle en JS

Application partielle

Programmation Fonctionnelle en JS

Maybe

Programmation Fonctionnelle en JS

Maybe

Programmation Fonctionnelle en JS

Maybe

Programmation Fonctionnelle en JS

Maybe

Programmation Fonctionnelle en JS

Maybe

Programmation Fonctionnelle en JS

Null/undefined

Programmation Fonctionnelle en JS

Conclusion

Programmation Fonctionnelle en JS

Conclusion

  • Pourquoi et comment
  • Concepts clés
  • Pas une solution universelle
  • Performances réduites (pour l'instant)

Programmation Fonctionnelle en JS

Conclusion

Et après ?

  • Frameworks : Immutable.js, Ramda, Underscore, Lodash, RxJS, ...
  • Languages : Elm, Haskell, Rust, ...
  • Système : NixOS, NixEnv, ...
  • Culture : FRP, Théorie des catégories, des types, calcul lambda, ...

Programmation Fonctionnelle en JS

Merci !

Programmation Fonctionnelle en JS

Merci !

Des questions ? C'est maintenant !

(si on a le temps)

Programmation Fonctionnelle en JavaScript

By Amin Nairi

Programmation Fonctionnelle en JavaScript

Comment rendre son code fiable et maintenable en JavaScript

  • 116