Introducing Imperative Programming
In Chapter 3, you saw some of the constructs that make up F# functional programming. At the core of the functional programming paradigm is “programming without side effects,” also called pure functional programming. In this chapter you will learn about programming with side effects, called imperative programming.
About Functional and Imperative Programming
In the functional programming paradigm, programs compute the result of a mathematical expression and don’t cause any side effects, simply returning the result of the computation. The formulas used in spreadsheets are often pure, as is the core of ...