println(if(itRocks) "boo" else "bar")
We have a pure expression if(itRocks) "boo" else "bar" wrapped in a side-effect println
This is preferable to intertwining pure expression and side-effect as we had earlier
This approach is what allows us to achieve high reusability and composition and automate testing!