Algorithms and OOD (CSC 207 2014F) : Outlines
Primary: [Front Door] [Schedule] - [Academic Honesty] [Disabilities] [Email] - [Learning Outcomes] [FAQ] [Teaching & Learning] [Grading] [Rubric] - [Calendar]
Current: [Assignment] [EBoard] [Lab] [Outline] [Reading]
Sections: [Assignments] [EBoards] [Examples] [Handouts] [Labs] [Outlines] [Readings]
Reference: [Student-Curated Resources] [Java 8 API] [Java 8 Tutorials] [Code Conventions]
Related Courses: [CSC 152 2006S (Rebelsky)] [CSC 207 2014S (Rebelsky)] [CSC 207 2014F (Walker)] [CSC 207 2011S (Weinman)]
Misc: [Submit Questions] - [SamR] [Glimmer Labs] [CS@Grinnell] [Grinnell] - [Issue Tracker (Course)] [Issue Tracker (Textbook)]
Held: Tuesday, 9 September 2014
Back to Outline 06 - Classes and Objects. On to Outline 08 - Arrays in Java.
Summary
We continue to explore the construction of classes in Java.
Related Pages
Overview
Administrivia
BigInteger values, a and b, you use
a.multiply(b) rather than a * b or BigInteger.multiply(a,b).this.m_name for fields, where m_ indicates "member".)
m_ anymore. Your classes and functions should
be small enough that you don'ta need them. And you should be using
an editing environment that highlights or colorizes members to make
them distinct. Besides, people quickly learn to ignore the prefix
(or suffix) to see the meaningful part of the name. The more we
read the code, the less we see the prefixes. Eventually, prefixes
become unseen clutter and a marker of older code."