-
Notifications
You must be signed in to change notification settings - Fork 1
Project Conventions
David Barley edited this page Sep 16, 2013
·
5 revisions
Naming - standard Java naming, reference Java variables with "this."
Cohesion - we agree, cohesion is great.
Abstraction - another thing we agree with.
Levels of design - Minimal packaging, probably 4 or 5 packages, reports, core data model, GUI interaction, GUI, database, maybe exceptions.
Size and Length/Complexity - When you get to a method that has 25 lines of code, you should start thinking about splitting it up. There is a hard limit at 100 lines of code. We will use a shared Eclipse formatting template to control coding style.
Error Reporting - Exceptions FTW, we will create our own custom exceptions that will probably mostly extend other Java exceptions.