Functional style and functions as values
Functional style and functions as values
Functional programming builds programs from functions and expressions, rather than a long sequence of variable updates. You can use this style in dedicated functional languages such as Haskell, or in languages with functional features such as Python and Java.
Step-by-step lessons covering AQA AS Level Computer Science Writing functional programs for AS Level Computer Science. Each lesson works through exam-style questions.