Doug Hull, MathWorks
(Originally posted on Doug's MATLAB Video Tutorials blog.)
The use of whitespace can make your code more pleasant to read. This is not just a nicety, it actually makes it easier to see the structure of your code and makes it more clear where code breaks the established patterns to help find bugs (like copy and paste bugs). Though not presented in this video, Scott pointed out that comments and cell dividers are also excellent ways to format code.
Recorded: 22 Oct 2010