diff options
author | kballou <kballou@devnulllabs.io> | 2016-03-18 23:49:55 -0600 |
---|---|---|
committer | kballou <kballou@devnulllabs.io> | 2016-03-19 01:40:04 -0600 |
commit | 4e8d2152705bd43f72cab95347b751ca7f2b23e7 (patch) | |
tree | da6ae367662533bc9e3e191417d4793261a0a6cf | |
parent | 0989c25705df7c230519e4e128ecfd3f08fc7bea (diff) | |
download | func-w-elixir-4e8d2152705bd43f72cab95347b751ca7f2b23e7.tar.gz func-w-elixir-4e8d2152705bd43f72cab95347b751ca7f2b23e7.tar.xz |
Add motiviation slides
-rw-r--r-- | src/func-w-elixir.tex | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/src/func-w-elixir.tex b/src/func-w-elixir.tex index 7d011f1..ca75cbd 100644 --- a/src/func-w-elixir.tex +++ b/src/func-w-elixir.tex @@ -116,6 +116,28 @@ XKCD on Functional Programming\cite{website:xkcd_functional} \end{frame} \begin{frame} +\frametitle{Motivation} +\framesubtitle{Why Functional Programming?} +\begin{itemize} +\item<1->{Easy to Reason About} +\item<2->{Trivial to Test} +\item<3->{Functional Composition} +\item<4->{State or Side-Effects are explicit} +\end{itemize} +\end{frame} + +\begin{frame} +\frametitle{Anti-Motivation} +\framesubtitle{Why not Functional Programming?} +\begin{itemize} +\item<1->{Explicit state can be hard} +\item<2->{Side-effect free programming seems cumbersome} +\item<3->{Performance} +\item<4->{Learning Curve} +\end{itemize} +\end{frame} + +\begin{frame} \frametitle{What is Functional Programming?} \begin{itemize} \item<1->{Functional programming is a paradigm} %you might say pattern @@ -126,7 +148,6 @@ XKCD on Functional Programming\cite{website:xkcd_functional} \begin{itemize} \item<6->{This gives higher-order functions} \end{itemize} -\item<7->{Functions compose} \end{itemize} \end{frame} |