Naming Conventions

TADS 3's standard libraries follow a naming convention similar to that used for the Java system classes.  For consistency, the intrinsic function name and intrinsic class method definitions provided with the compiler follow this same set of conventions.  Here's a summary of the naming rules:

 

 

The standard libraries sometimes use an abbreviation or acronym as though it were an ordinary word, to avoid really long names or long runs of capital letters.  For example, the regular expression functions use “rex” instead of “regularExpression,” because the latter is too long (rexMatch, rexSearch, etc.), and the String method “htmlify” doesn’t capitalize the letters “HTML.”