M/F 2:30-3:20   
in G01 Gates Hall

CS 1130: Transition to OO Programming

Spring 2016

Part 3. Applications & Applets Part 5. Advanced OO Concepts

Module 2, Part 4

Programming Style

In this part, we talk about style, which is about making code that does not just work, but is readable as well.


1. Programming Style

Reading: Course style guide
Gries/Gries, Chap 13, pp. 368–384.

Comments: Read the chapter for more details, but use the web page as your primary reference. You will see conventions for naming variables, for method names, for classes, for indentation. You'll also find guidelines for writing methods and their specifications and for documenting variables.