24 lines
1.1 KiB
Markdown
24 lines
1.1 KiB
Markdown
---
|
|
zotero-key: TLUTFXJ8g5383243
|
|
zt-attachments:
|
|
- "146"
|
|
citekey: jenkisWhatFunctionalProgramming2015
|
|
---
|
|
up:: [[zotero literature notes]]
|
|
link:: [Zotero](zotero://select/groups/5383243/items/TLUTFXJ8) [attachment](file:///Users/oscarplaisant/Zotero/storage/8P4TX53J/what-is-functional-programming.html)
|
|
#pkm #zotero
|
|
|
|
|
|
> [!cite]+ [What Is Functional Programming?](zotero://select/groups/5383243/items/TLUTFXJ8) - [Page ](zotero://open-pdf/groups/5383243/items/8P4TX53J?annotation=S979DXY2)
|
|
> A function is called 'pure' if all its inputs are declared as
|
|
> inputs - none of them are hidden - and likewise all its outputs are
|
|
> declared as outputs.
|
|
> ^S979DXY2a8P4TX53Jg5383243
|
|
|
|
> [!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
|