Sign in or register
for additional privileges

Border Codes

Mark Marino, Author

You appear to be using an older verion of Internet Explorer. For the best experience please upgrade your IE version or switch to a another web browser.

Naming Conventions

CODE: 
  1. package edu.ucsd.calit2.TransBorderTool;

  2. import edu.ucsd.calit2.TransBorderTool.international.*;
Function: a package is a means of organizing java classes into groups, similar to a folder.
The import statement will allow the programmer to refer to the specified (e.g.Vector) or
complete list of classes in that package by name rather than their full address
(java.util.Vector).


In Java naming conventions, programmers refer to file names by the inverse of the url associated with that file.  So 

calit2.ucsd.edu <-- --> edu.ucsd.calit2.TransBorderTool 

As a result the institution that supported, or more accurately hosted, the Transborder Immigrant Tool is inscribed into the code like the patron of the Renaissance portrait, or perhaps more like the brand name in the plastic mold of the plastic Statue of Liberty doll. 
This page annotates:
DowsingCompass.java at line 18 - 24
Comment on this page
 

Discussion of "Naming Conventions"

Add your voice to this discussion.

Checking your signed in status ...