Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 352 Bytes

functional-programming.md

File metadata and controls

11 lines (7 loc) · 352 Bytes

Functional Programming Questions

What makes a good function**

Obvious naming.

Should do a single thing (SOC) (write a file, append sections to a document, generate a section of a document, ...).

Should be pure if feasible.

If you were writing a tutorial "How to write a bad function", what would you write in there?

Your expectations here