CS 101 - 9/20/11 Good Programming Style Elements added to a program that make the program easy to be understood by a person. Elements of good programming style include: * Meaningful Variable Names * Proper Indentation of Code * Blank Lines between Code Sections * Use of Methods * In-Line Commenting * Header Comment for the File * Header Comments for each Method. Meaningful Variable Names: int count; int width, height; // the following use a naming convention to help // keep track of the type of the variable int iSummation; double dAverage; String sName; Proper Indentation of Code - Think "Outline" Blank Lines between Code Sections - like paragraphs Use of Methods - help "chunk" our program together into smaller meanful pieces - this process is called "abstraction" Use of comments to explain what is occurring in the program * In-Line Commenting * Header Comment for the File * Header Comments for each Method.