2 ms·
The example is just about abstraction. The imperative equivalent would be: "Give me a Sazerac!" (imperative, hehe)
by junke 10y ago
The example is just about abstraction.
The imperative equivalent would be:
"Give me a Sazerac!"
(imperative, hehe)
- dllthomas 10y ago"It is imperative that you give me a Sazerac!"
- junke 10y agoSome time ago at University, we had to develop a puzzle solver in FP. In the report's introduction, I wrote something like "In this project, we must code imperatively in the functional programming language OCaml". The joke was well received.