`
]

---
# Parameters evaluation

.seventy-two-left[
```scala mdoc:reset
def getOrElse[A](option: Option[A], fallback: A): A =
  option match {
    case Some(value) => value
    case None        => fallback
  }
```

```scala
getOrElse(
  Some("bob@gmail.com"),
  throw new IllegalArgumentException("email is required")
)
// java.lang.IllegalArgumentException: email is required
```
]

---
# 0-parameter function

.seventy-two-left[
```scala mdoc:reset
def getOrElse[A](option: Option[A], fallback: () => A): A =
