Don't split lines at random places, but don't make them too long either

Don't split lines at random places, but don't make them too long either

Opening an array with [ and indenting the values tends to work well. Same with long function parameter values.

Other good places to split lines are chained calls and closures.

We're writing a book, you can get it for free here.