Glossary for Comments

From sasCommunity
Jump to: navigation, search

A Glossary for Program Comments

A wise man (whose name I cannot remember) once wrote: A beginner doesn't use comments. An intermediate user uses comments to explain what he did. An expert uses comments to explain what he did NOT do.

What goes in comments?

Glossary

A

  • allocate, v.
  1. choose variable name
  2. assign value to variable
  • assign, v.,

L

  • lookup table, n., a table with a Primary Key that contains columns with text explanations;

fact tables are linked to lookup tables with FactTable.ForeignKey = LookUpTable.PrimaryKey; database term: dimension table; SAS shortcut: formats;

M

  • make

O

  • order, v., by-var,

P

  • partition,

http://en.wikipedia.org/wiki/Partition_%28database%29

S

  • set,
    • n., a list of items,
    • v., to assign
  • stratify, v., to arrange, to order, to stack: use by-var with procedures; proc freq cross-tab: tables A * B;

http://en.wikipedia.org/wiki/Stratify

U

  • unique, to make unique: proc sort data = ... noduprecs|nodupkey; by by-var(s);

--macro maven == the radical programmer 14:51, 13 June 2008 (EDT)