Skip to content

Conversation

@brandur
Copy link
Contributor

@brandur brandur commented Mar 9, 2025

A few more small follow ups for #794. I started renaming things late in
the process while refactoring it, and a few of the renames didn't end up
getting bubbled all the way through.

Try to maintain roughly this vernacular:

  • Template: A template itself like /* TEMPLATE: ... along with its
    assigned template name.

  • Replacement: A replacement value for a template, possibly
    including some metadata like Stable.

Get rid of the use of tmpl in favor of replacement for locals.

@brandur brandur requested a review from bgentry March 9, 2025 02:06
A few more small follow ups for #794. I started renaming things late in
the process while refactoring it, and a few of the renames didn't end up
getting bubbled all the way through.

Try to maintain roughly this vernacular:

* **Template:** A template itself like `/* TEMPLATE: ...` along with its
  assigned template name.

* **Replacement:** A replacement value for a template, possibly
  including some metadata like `Stable`.

Get rid of the use of `tmpl` in favor of `replacement` for locals.
@brandur brandur force-pushed the brandur-more-consistent-naming branch from 8759a01 to b186d96 Compare March 9, 2025 04:18
@brandur
Copy link
Contributor Author

brandur commented Mar 9, 2025

Thx.

@brandur brandur merged commit 6ce45ae into master Mar 9, 2025
10 checks passed
@brandur brandur deleted the brandur-more-consistent-naming branch March 9, 2025 05:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants