Advice for Library Authors

An ordinary IDL programmer needs only to solve his or her own problems to the desired level of quality, reusability, and robustness. Life is more difficult for an author of a library of IDL routines. In addition to the challenges facing any programmer, library authors face additional challenges:

Prefixing Routine Names

The use of a proper prefix minimizes the risk of a namespace collision as described in Recognizing Potential Naming Conflicts. In selecting a prefix for your library, you should select a name that is short, mnemonic, and unlikely to be chosen by others. For example, such a name might use the name of your organization or project in an abbreviated form.

Non-prefixed names and names prefixed by "IDL" are reserved. New names of these forms can and will appear without warning in new versions of IDL, and should be avoided when naming new library routines.