Art of Programming - Formatting | DCS |
|
---|---|---|
Previous |
Art of Programming Home San Diego State University -- This page last updated 30-May-13 |
Next |
Formatting should show the block structure of the code and be consistent. Reasonably formatted code makes the code easier to read. It shocks me every time I come across student work that is very difficult to read because of the poor and inconstant formatting of the code. If they can not do this well what can they do as formatting code is mechanical and perhaps the easiest thing a programmer does. In this video we look as some of the things not to do and what to do when formatting code.