Tag: scala

  • What is tail recursion?

    In many functional programming languages such as Haskell or Scala, tail recursion is an interesting feature in which a recursive function calls itself as the last action. For example, we […]

  • Call by Name vs. Call by Value in Scala

    Substitution Model In Scala, expressions are evaluated based on the substitution model, the idea is that all evaluation does is reduce an expression into a single value like what we […]

Buy Me a Coffee