cours/paradigme programmation fonctionnelle.md
Oscar Plaisant 448a67cf76 update
2024-03-29 13:56:47 +01:00

21 lines
881 B
Markdown

up:: [[paradigme de programmation|paradigme]]
#informatique
> [!definition] programmation fonctionnelle
>
^definition
# Définitions
> [!cite]+ [Programming Paradigms](zotero://select/groups/5383243/items/XUWRH447) - [Page ](zotero://open-pdf/groups/5383243/items/LQGLTH3D?annotation=8L7P34B2)
> In functional programming, control flow is expressed by combining function calls, rather than by assigning values to variables:
> ^8L7P34B2aLQGLTH3Dg5383243
> [!cite]+ [What Is Functional Programming?](zotero://select/groups/5383243/items/TLUTFXJ8) - [Page ](zotero://open-pdf/groups/5383243/items/8P4TX53J?annotation=IU2KWY7L)
> Functional programming is about writing pure functions, about removing
> hidden inputs and outputs as far as we can, so that as much of our
> code as possible just describes a relationship between inputs and
> outputs.
> ^IU2KWY7La8P4TX53Jg5383243