Stenway Developer Network

Line Continuation

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

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