DataAndLogic

For typesetting, it is generally recognized as a good practice to separate style from content. Some programs make the same kind of distinction to separate the data from the logic that operates on the data.

In the past, I’ve though of this as “internally” and “externally” defined logic.

Examples that separate data from logic:

Examples that do not separate data from logic:

Lisps seem to be their own things… (Often claims “code is data.” Aren’t S-expressions similar to XML?)

For a long time, I thought that that separation was wise.

Some exceptions come to mind:

What about when data is primary and logic is secondary?

To do:

Dig into this discussion between Alan Kay and Rich Hadley.