Skip to content

Instantly share code, notes, and snippets.

@Wintus
Created January 1, 2026 14:55
Show Gist options
  • Select an option

  • Save Wintus/4c3bcddf2c8383329b961e66e71be026 to your computer and use it in GitHub Desktop.

Select an option

Save Wintus/4c3bcddf2c8383329b961e66e71be026 to your computer and use it in GitHub Desktop.
Wording guideline for terminology precision (human & LLM agents)

Wording

Algorithm vs Expression vs Logic

  • Algorithm: Abstract step-by-step procedure for computation (imperative).
  • Expression: Compositional structure evaluated under arbitrary semantics (declarative).
  • Logic: Reasoning about validity of arguments (deductive or inductive).

Prefer "algorithm" for imperative code, "expression" for declarative code, and "logic" only for truth-valued reasoning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment