<img height="1" width="1" src="https://www.facebook.com/tr?id=&amp;ev=PageView &amp;noscript=1">

Posted by Tudor Zgureanu
Thu, Jun 29, 2017

In my previous blog post we have discussed the evaluation strategies in Scala and the difference between call-by-value, call-by-name and call-by-need. Also, I have shown a small workaround for evaluating the arguments lazily (aka call-by-need). As previously presented, the workaround for call-by-need arguments consists of local lazy values which are initialised with the call-by-name arguments we want to be evaluated at most once:

Posted by Tudor Zgureanu
Sat, Jun 3, 2017

Evaluation strategies are one of the most important traits of programming languages. Hence, I chose this topic for the current blog post. We are going to have a quick introduction to evaluation strategies and then look at the evaluation strategies supported by Scala.

Recent Posts

Posts by Topic

see all

Subscribe to Email Updates