Our name, for { comprehension }, is a play on words. Some programming languages support a construct known as a comprehension. The Scala programming language provides a construct known as a for-comprehension. At first glance, a programming for-comprehension looks something like a for-each loop construct. However, it is much more than that. A for-comprehension not only iterates over a collection of objects, it also yields results out of the iteration:

    val words = List("who", "how", "what", "when", "where", "why")
    val fiveWs =
        for { word <- words
           if (word.startsWith("wh"))
        } yield word

Once this sample for-comprehension has completed, the value fiveWs references a collection of these five words: “who”, “what”, “when”, “where”, “why”. This is much more than a typical for-loop or iteration can accomplish, and with much less programming effort.

Thus, with for { comprehension }:

  • You engage with us on various levels for your comprehension as you improve your software skills and deliver strategic business value.
  • It’s where you can Learn to do more than you think.™

Although for { comprehension } plays on the Scala language theme, this in no way limits us to supporting only the Scala Language and related technologies. Our diverse courses and consulting services available on this site are broad and varied.


Your Cart