Stenway Developer Network

Line Continuation

An IDE should intelligently wrap lines if they are too long. Manual line continuation should be avoided.

this.doSomething(arg1, arg2, arg3,
                 arg4, arg5, arg6,
                 arg7, arg8)
return node.
       next().
       next()
x int = a +
        b +
        c
if x == 2 ||
   x == 4 ||
   x == 6
  this.doSomething()
end