{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Activity_01 - COMP 1210 Activity 1 Introduction Page 1 of 7...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
COMP 1210 Activity 1: Introduction Page 1 of 7 COMP 1210 | Spring 2012 1 Reading : Chapter 1.4 - 1.6 pages 26-49 Terminology: Object-oriented programming Java API (standard class library) Documentation Inline documentation (comments) Class Method Identifiers Reserved words White space Machine language Assembly language High-level languages Fourth-generation languages Editor Compiler Interpreter Source code Java bytecode IDE Debugger SDK / JDK Syntax Semantics Compile-time error Run-time error Logic error A coding standard consists of guidelines that are used by developers when writing source code to ensure that it follows a consistent format. Rules will be added to the COMP 1210 coding standard each week as more complex programs are developed. COMP 1210 Coding Standard: o The COMP 1210 coding standard is supported by Checkstyle, which is a tool that works with jGRASP to automatically detect style errors in a program. We will talk about Checkstyle in more details later. o Lines of code must be less than 80 characters (including indentation). You can continue string literals on a new line using string concatenation. For example : System.out.println( "This is a long output string." ); Can be rewritten as: System.out.println( "This is a long " + "output string." ); Note that the concatenation does not change the output of the program. All classes and methods require descriptive Javadoc comments. See pages 1-4 of the documentation guidelines for more information.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon