February 2019
Intermediate to advanced
626 pages
15h 51m
English
There are several techniques that can be used when writing scripts to avoid excessively long lines of code. The goal is to avoid needing to scroll to the right when reviewing code. A secondary goal is to avoid littering a script with the tick character, `.
Adding extra line breaks is often a balancing act. Both too many and too few can make it harder to read a script.
Splatting was introduced in the first chapter of this book as a means of dealing with commands that require more than a couple of parameters. It remains an important technique for avoiding excessively long lines.
Read now
Unlock full access