













Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!














docsity.com
` Course details
` Writing maintainable code
` Assignment 01
2 cs420 Fall 2010
docsity.com
` Lectures & Handouts
` Will be available online
` Office hours:
` Usually one (1) hour after the lecture
4 cs420 Fall 2010
docsity.com
` Assignments
Individual No late submission Quizzes Mostly unannounced `` Occasionally announcedOccasionally announced ` Most of the Lab assignments will be marked as quiz after viva
5 cs420 Fall 2010
docsity.com
7 cs420 Fall 2010
docsity.com
OS: LINUX (UBUNTU, Redhat etc)
IDE: NETBEANS 6.9.X
API: J2EE 5.X.X, J2SDK6.X.X
Documentation: J2EE and J2SDK
Framework: STURTS, JSF, SPRING & Hybernate
Basics: JSP, Servlets, Beans, JSP, JSP Tag lib,
Custom tagsCustom tags
cs420 Fall 2010
docsity.com
docsity.com
What is maintainable/extensible code?
` Can it be taught?
` Clichés are true; the trick is to know when to bend the
rules!
docsity.com
13 cs420 Fall 2010
docsity.com
14 cs420 Fall 2010
docsity.com
` Too little - too much
` Useful comments
` Keep your comments short
`` Spell checkSpell check
` How serious one is about comments
` If there are questions about the code, comments
need to be improved
16 cs420 Fall 2010
docsity.com
` Use consistent formatting
` Tabs vs Spaces
Always use spaces Set your IDE to replace TABS with spacesy
` Follow the convention
17 cs420 Fall 2010
docsity.com
Any violation of the convention is allowed if
it enhances readabilityy
docsity.com
` Packages should always be named in small
letters
` Names representing types must be nouns and
written in mixed case starting with upper caseg pp ` Line, AudioSystem
` Variable names must be in mixed case starting
with lower case ` line, audioSystem
20 cs420 Fall 2010
` line, audioSystem
docsity.com