Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente Prochaine révisionLes deux révisions suivantes |
teaching:progappchim:notions_avancees [2016/06/20 17:05] – [Programmation orienté objet] villersd | teaching:progappchim:notions_avancees [2019/12/16 08:58] – [Programmation fonctionnelle] villersd |
---|
* [[http://sahandsaba.com/combinatorial-generation-using-coroutines-in-python.html]] | * [[http://sahandsaba.com/combinatorial-generation-using-coroutines-in-python.html]] |
* [[http://code.activestate.com/recipes/580628-pluggable-python-generators/]] | * [[http://code.activestate.com/recipes/580628-pluggable-python-generators/]] |
| * [[http://www.datadependence.com/2016/08/pythonic-code-video-series-yield-generators/|Processing Large Data Sets With Yield and Generators]] |
| |
===== Liste en compréhension ===== | ===== Liste en compréhension ===== |
* [[http://fgallaire.flext.net/comprehension-de-liste-en-python-map-filter/]], remplacement de map() et filter() | * [[http://fgallaire.flext.net/comprehension-de-liste-en-python-map-filter/]], remplacement de map() et filter() |
* [[http://www.python-course.eu/list_comprehension.php]], yc suppression de lambda er reduce() | * [[http://www.python-course.eu/list_comprehension.php]], yc suppression de lambda er reduce() |
| * [[https://www.datacamp.com/community/tutorials/python-list-comprehension]] |
* [[https://gist.github.com/bearfrieze/a746c6f12d8bada03589]] | * [[https://gist.github.com/bearfrieze/a746c6f12d8bada03589]] |
| |
===== Programmation fonctionnelle ===== | ===== Programmation fonctionnelle ===== |
* [[http://www.pysnap.com/functional-programming-in-python/|Functional Programming in Python]] (FIXME) | * [[http://www.pysnap.com/functional-programming-in-python/|Functional Programming in Python]] (FIXME) |
| * Map, filter, reduce : |
| * [[https://medium.com/better-programming/how-to-replace-your-python-for-loops-with-map-filter-and-reduce-c1b5fa96f43a|How To Replace Your Python For Loops with Map, Filter, and Reduce - Write more semantic code with functional programming]] |
| |
===== Tests unitaires ===== | ===== Tests unitaires ===== |
| |