Rename macros #40
Labels
D-accepted
A decision (D) has been made and the issue will be worked on
I-feature
This issue (I) regards a (potential) feature in the project
T-accepted
Triage (T): Initial review accepted issue/PR as valid
Short Description:
Rename the macros:
duplicate_inline
->duplicate
(new),duplicate
(old) ->duplicate_item
.Motivation:
#28 decided that
duplicate_inline
would be used in nested substitution.Therefore, the current name is a bit long for something that would probably be embedded inside other code.
duplicate
(old) on the other hand is often on its own, or as part of shorter lines, so giving it a longer name wouldn't be an issue.duplicate_inline
is also the more general of the macros (everywhere can useduplicate
(old) you can also useduplicate_inline
, but not vice versa).Therefore, if it has the shorter name, new users trying it out (without knowing the difference) would have faster success.
Design
Simple rename.
Misc:
Initially, we will simply rename everything in the documentation. However, since
duplicate_inline
will become the new default macro, we might want to refocus the documentation to account for this.The text was updated successfully, but these errors were encountered: