In Scala, you may often want to replace braces with parentheses and vice versa.
For example, imagine that you decided to use curly braces in the following statement:
It looks like not a big deal, but in practice it takes a lot of key presses, cursor positioning, and a fight with the automatic …