[FMFP] Prepare section on exercises

This commit is contained in:
2026-07-12 08:51:32 +02:00
parent 793401968b
commit a719132e7d
11 changed files with 42 additions and 0 deletions
@@ -0,0 +1,10 @@
\subsubsection{Evaluation strategies}
Evaluation strategies formalize how programming languages evaluate the code.
Most of the commonly used programming languages use \textit{eager evaluation}, whereas functional programming languages tend to prefer \textit{lazy evaluation}
\paragraph{Lazy Evaluation}
In Lazy Evaluation, expressions are substituted until all possible values are substituted and the expression is then evaluated.
At the exam, it is likely that one such task will appear.
\paragraph{Eager Evaluation}