When Text Becomes an Instruction
Compare ordinary and changed values in a caption worker, template preview, and directory lookup, one interpreter at a time.
You’re reading a preview. Premium includes the full lesson and specialist practice. View the full curriculum.
The same words can have different jobs
A caption worker needs text for an image. A message preview needs words to display. A directory lookup needs a person's name. Each feature can go wrong when it gives that value to something that reads instructions.
An interpreter reads a particular language: a shell command, a server template, or a directory filter. The correct way to pass a value depends on that language.
Treat these as three small examples
| Feature | Value the person should control | Instructions the application should control |
|---|---|---|
| Caption worker | The literal caption | Executable choice and argument structure |
| Message preview | The message text or approved variables | The template's source |
| Directory lookup | A literal name | The filter's matching structure |
Each feature has an ordinary case and a changed-input case. Compare each pair on its own; a shell fix is not a template fix.