Programming Style (cont)
What determines "readability"?
- code layout, names, comments (style)
- underlying logical structure of code (design)
Good design produces well-structured, less-complex code.
Good style produces code that can be understood more quickly.
Consistency in style improves readability further.
|