FormatTopBlank LinesNames

Names

You should always choose names that suggest the meanings of the things being named. If the purpose of a method is to draw a rectangle, then a good name for that method is drawRect. If there is a variable of type filledRect that is used as the stem of a stop sign, then a good name would be stem or stemRect.

Following Grace convention, types begin with capital letters, while classes, methods, defs, vars, and parameters all begin with lowercase letters, while uppercase is used to start new words in multi-word names. You are expected to follow these naming conventions to make your program readable.

Prefer local variables and defs inside methods unless the results must be saved for use in another method request.


FormatTopBlank LinesNames