[nfbcs] Fwd: Object-oriented Programming Classes Questions
Jaquiss, Robert
RJaquiss at nfb.org
Thu May 19 19:32:47 UTC 2011
Hello:
I haven't done much with Eclipse. One thing that will very much help in dealing with languages like Java is a Braille display. Java has certain conventions such as some type of identifiers have their first letter in uppercase. Some especially those that use two words have the first character of the second word in uppercase. This is known as Pascal and Camel notation respectively.
If you had an object such as Cat for dealing with cats, you could have objects such as:
Cat.breed
Cat.name
Cat.weight
Cat.color
Cat.description
A method for returning the color of a cat to a string variable could look like:
color = getCatColor();
Java and other languages indent their blocks, so a Braille display is very handy for seeing the lefthand margin. An 80 cell display is easier to use. Hope this helps.
Regards,
Robert
More information about the NFBCS
mailing list