James Mason

17%
Flag icon
To name a function, use a description of the return value. A function returns a value, and the function should be named for the value it returns. For example, cos(), customerId.Next(), printer.IsReady(), and pen.CurrentColor() are all good function names that indicate precisely what the functions return.
Code Complete
Rate this book
Clear rating
Open Preview