RU beehive logo ITEC dept promo banner
ITEC 120
2007fall
ibarland,
jdymacek

homeinfoexamslectureslabshws
RecipeLawsliessyntaxjava.lang docsjava.util docs

grading-guide
general grading guide

Some common errors, marked with greek letters (lower-case). (See also, common proofreading marks.)

The greek alphabet (in alphabetical order).

1 This is a lack of a single point of control, on the part of javadoc. It forces me to have the same information cut/pasted in two places. When an overall description isn't provided, ideally javadoc would use the @return line instead (but, we live in a non-ideal world).      

2 Classes-start-with-capital-letters is inviolable convention in Java and C++. Other languages have other conventions (e.g. Scheme uses names ending in ‘%’ to represent classes). On the other hand, named-constants-in-all-caps extends to all programming languages I know of.      

3 The reason is twofold: (a) it makes it clear to yourself and anybody reading the code which object is being used; (b) it can save hours and hours of debugging, were you to confuse a local variable with a field.      

homeinfoexamslectureslabshws
RecipeLawsliessyntaxjava.lang docsjava.util docs


©2007, Ian Barland, Radford University
Last modified 2007.Nov.28 (Wed)
Please mail any suggestions
(incl. typos, broken links)
to iba�rlandrad�ford.edu
Powered by PLT Scheme