So, if "program" (πρόγραμμα) means "pre-written", like a royal edict that is posted publicly before it is to be obeyed, should we rename the field of "programming by demonstration" (for example, editor keyboard macros, spreadsheet formulas, or GeoGebra constructions) to "postgramming" or "epigramming"? (I suppose "epigram" already has a conflicting meaning.)
Because, in programming by example, the "program" is a log of the sequence of operations that were carried out, and perhaps why, so that we can repeat them, rather than being a prospective future plan for a sequence of operations to carry out in the future.