FP - expression vs statement

less than 1 minute read

Expression: by combining value and function, it will generate the value with some possible side-effect
Statement: standalone unit of execution without returning anything. Normally it has side effect.

More information:
https://fsharpforfunandprofit.com/posts/expressions-vs-statements/