by kornel@synkre.com | May 17, 2019 | Uncategorized
When we write Scala code that needs to be repeated we often put it into a for comprehension. Many folks who code Scala call this is loop. for( i <- 1 until 5){ println(i) } But that is not 100% accurate. A for comprehension does not have any mutable loop variables...